Znn3bq.jpeg
±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 537  |  »Ø¸´: 6
µ±Ç°Ö÷ÌâÒѾ­´æµµ¡£

TIGERYZZ

½ð³æ (СÓÐÃûÆø)

[½»Á÷] ¡¾ÇóÖú¡¿Çë½ÌtorqueÎÊÌâ

¸÷룬ÎÒÃǼ¯ÈºÊ¹ÓÃtorque¹ÜÀí£¬È»ºó¼ÆËã½á¹ûÒªÔÚ¼ÆËãÍê±ÏºóÊä³öe£¬oÎļþ¡£
ÏëÇëÎÊÄÜ·ñ²ÉÓÃqstat»òÕß±ðµÄÃüÁî£¬ËæÊ±²é¿´µ½ÕýÔÚÔËÐеÄÈÎÎñµÄÆÁÄ»Êä³ö£¬ÒԱ㼰ʱµ÷Õû£¬Ð»Ð»¡£
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

fengya0785

Òø³æ (СÓÐÃûÆø)

¡ï ¡ï
TIGERYZZ(½ð±Ò+1,VIP+0):thanks~~ 7-20 21:53
mingdong(½ð±Ò+1,VIP+0):¸Ðл½»Á÷£¡ 8-2 08:34
torqueºÃÏñÊÇûÓÐÕ⹦ÄÜ£¬µ«Äã¿ÉÒÔÔÚÌá½»Ê±ÖØ¶¨ÏòÊä³öµ½ÎļþÀ¾Í¿ÉÒÔ¿´µ½ÆÁÄ»Êä³öÁË¡£
E
2Â¥2009-07-20 15:04:45
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ma_chao

гæ (³õÈëÎÄ̳)

¡ï ¡ï
mingdong(½ð±Ò+1,VIP+0):¸Ðл½»Á÷£¡ 8-2 08:34
TIGERYZZ(½ð±Ò+1,VIP+0): 8-2 10:53
ÖØ¶¨Ïòµ½Îļþ£¬È»ºó¿ÉÒÔÓÃwatch + cat À´×Ô¶¯Öظ´¿´

¿ÉÒÔÓ㬵«²»È·¶¨¶Ô×ÊÔ´µÄËðºÄ

ºÇºÇ£¬fengya0785  
3Â¥2009-08-02 03:32:04
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

solocheng

ÈÙÓþ°æÖ÷ (ÎÄ̳¾«Ó¢)

ºÚ¶´¶´Ö÷

ÓÅÐã°æÖ÷

¹ýÀ´Ñ§Ï°ÁË£¬À÷º¦
ÄãÀ´ÁË£¬ÎÒÐÅÄã²»»á×ߣ»Äã×ßÁË£¬ÎÒµ±ÄãûÀ´¹ý¡£
4Â¥2009-08-02 12:01:10
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

fengya0785

Òø³æ (СÓÐÃûÆø)

ÒýÓûØÌû:
Originally posted by ma_chao at 2009-8-2 03:32:
ÖØ¶¨Ïòµ½Îļþ£¬È»ºó¿ÉÒÔÓÃwatch + cat À´×Ô¶¯Öظ´¿´

¿ÉÒÔÓ㬵«²»È·¶¨¶Ô×ÊÔ´µÄËðºÄ

ºÇºÇ£¬fengya0785  

5Â¥2009-08-03 11:31:56
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

TIGERYZZ

½ð³æ (СÓÐÃûÆø)

»¹Çë½Ì¸öÎÊÌâ
ÎÒÄÜ·ñÔÚ×÷ÒµÔËÐйý³ÌÖУ¬¸ü¸Ä×÷ÒµµÄʱ¼äÄØ£¿
Ò²¾ÍÊǸü¸ÄÌá½»×÷ҵʱµÄwalltimeÄØ£¿
6Â¥2009-08-05 08:13:47
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

123qweasd7962

¡ï ¡ï ¡ï ¡ï ¡ï ¡ï
wuli8(½ð±Ò+3,VIP+0):3KS 8-20 13:36
TIGERYZZ(½ð±Ò+3,VIP+0):Õâ¸öÊÇperlдµÄ£¿ºÃרҵ¡­¡­ºÃºÃ¿´¿´È¥£¬Ð»Ð»ÁË 8-20 21:00
¿ÉÒԲο¼Ê¹ÓÃqpeek

#!/usr/bin/perl

# qpeek:  Peek into a job's output spool files
# Copyright 2001, Ohio Supercomputer Center
#
# Usage:  qpeek [options] JOBID
#
# Options:
#   -c      Show all of the output file ("cat", default)
#   -h      Show only the beginning of the output file ("head"
#   -t      Show only the end of the output file ("tail"
#   -f      Show only the end of the file and keep listening ("tail -f"
#   -#      Show only # lines of output
#   -e      Show the stderr file of the job
#   -o      Show the stdout file of the job
#   -?      Display help

$tool="cat";
$numlines="";
$suffix="OU";
$spool="/var/spool/pbs/spool";
$host="oscbw";

while ( $ARGV[0] =~ /^-.*/ )
  {
    if ( $ARGV[0] eq "-c" )
      {
        $tool="cat";
      }
    elsif ( $ARGV[0] eq "-f" )
      {
        $tool="tail -f";
      }
    elsif ( $ARGV[0] eq "-h" )
      {
        $tool="head";
      }
    elsif ( $ARGV[0] eq "-t" )
      {
        $tool="tail";
      }
    elsif ( $ARGV[0] =~ /^-[0-9]+$/ )
      {
        $numlines=$ARGV[0];
      }
    elsif ( $ARGV[0] eq "-e" )
      {
        $suffix="ER"
      }
    elsif ( $ARGV[0] eq "-o" )
      {
        $suffix="OU"
      }
    elsif ( $ARGV[0] eq "-?" || $ARGV[0] eq "-help" )
      {
        print STDERR < qpeek:  Peek into a job's output spool files

Usage:  qpeek [options] JOBID

Options:
   -c      Show all of the output file ("cat", default)
   -h      Show only the beginning of the output file ("head"
   -t      Show only the end of the output file ("tail"
   -f      Show only the end of the file and keep listening ("tail -f"
   -#      Show only # lines of output
   -e      Show the stderr file of the job
   -o      Show the stdout file of the job (default)
   -?      Display this help message
EOF
        exit;
      }
    else
      {
        print STDERR "qpeek:  Unrecognized option $ARGV[0] ignored\n";
      }
    shift(@ARGV);
  }

$jobid=shift(@ARGV);
$jobid=~s/\.[A-z0-9.]+$//;
die "No jobid given!\n" if ( $jobid eq "" );

$node=&mothersuperior($jobid);
die "Job $jobid is not running!\n" if ( $node eq "" );

exec "rsh $node $tool $numlines $spool/$jobid.$host.$suffix\n";


sub mothersuperior
{
  local($jobid,$node);
  $jobid=$_[0];
  $node="";
  open(QSTAT,"qstat -f $jobid |";
  while ( )
    {
      chop;
      if ( $_ =~ /exec_host/ )
        {
          ($keyword,$node)=split(/=/);
          $node=~s:/[0-9]+[A-z0-9/+]*::;
        }
    }
  $node;
}

[ Last edited by 123qweasd7962 on 2009-8-20 at 11:47 ]
7Â¥2009-08-20 11:44:23
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ TIGERYZZ µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤×¨Ë¶329 Çóµ÷¼Á +18 ¶îcc 2026-04-06 19/950 2026-04-07 19:38 by qlm5820
[¿¼ÑÐ] Ò»Ö¾Ô¸¹þ¹¤´ó£¬³õÊÔ329£¬Çó»·¾³¿ÆÑ§Ó빤³Ìµ÷¼Á£¡ +10 ÓàδÐÁ 2026-04-06 10/500 2026-04-07 15:44 by Éϰ¶¿ì¿ì
[¿¼ÑÐ] ¸´ÊÔµ÷¼Á +9 ´ºÈÕÀ´ÐÅ- 2026-04-03 9/450 2026-04-07 15:17 by ¾¡Ë´Ò¢1
[¿¼ÑÐ] 333Çóµ÷¼Á +6 ºÏ³ËÑîϰϦ 2026-04-06 6/300 2026-04-07 09:44 by Öí»á·É
[¿¼ÑÐ] 319·Ö085702°²È«¹¤³ÌÇóµ÷¼Á +6 rious 2026-04-05 6/300 2026-04-07 09:42 by jp9609
[¿¼ÑÐ] 08600ÉúÎïÓëÒ½Ò©-327 +9 18755400796 2026-04-05 9/450 2026-04-06 22:35 by 52305043001
[¿¼ÑÐ] 327¿¼Ñе÷¼ÁÍÆ¼ö +6 ÎØÎØÎØÎØÄØ 2026-04-06 6/300 2026-04-06 21:39 by à£à£à£0119
[¿¼ÑÐ] Çóµ÷¼Á£¡ÉúÎïÓëҽҩר˶ +5 Äæ×ªÂ½ÏÈÉú 2026-04-01 6/300 2026-04-06 12:49 by lys0704
[¿¼ÑÐ] 324Çóµ÷¼Á +3 k¿ÉÀÖ 2026-04-05 4/200 2026-04-06 09:54 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 0860 Çóµ÷¼Á Ò»Ö¾Ô¸¹ú¿Æ´ó 348 ·Ö +3 WiiiP 2026-04-03 3/150 2026-04-05 17:43 by Ecowxq666£¡
[¿¼ÑÐ] 296Çóµ÷¼Á +3 Íô£¡£¿£¡ 2026-04-05 5/250 2026-04-05 17:38 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 288Çóµ÷¼Á Ò»Ö¾Ô¸¹þ¹¤´ó ²ÄÁÏÓ뻯¹¤ +13 ÂåÉñ¸ç¸ç 2026-04-03 13/650 2026-04-05 17:27 by zzx2138
[¿¼ÑÐ] ²ÄÁÏר˶ µ÷¼Á +14 CXN123456 2026-04-03 14/700 2026-04-05 17:18 by Hdyxbekcb
[¿¼ÑÐ] 324Çóµ÷¼Á +14 ÏëÉÏѧÇóµ÷ 2026-04-02 15/750 2026-04-04 20:31 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] Çóµ÷¼Á +3 ũҵ¹¤³ÌÓëÐÅÏ¢¼ 2026-04-04 3/150 2026-04-04 12:19 by Éá¶øºóµÃ
[¿¼ÑÐ] ²ÄÁÏרҵ383Çóµ÷¼Á +8 ¹ùÑôÑôÑô³É 2026-04-03 8/400 2026-04-04 10:29 by Rednal.
[¿¼ÑÐ] 322Çóµ÷¼Á +4 FZAC123 2026-04-03 4/200 2026-04-03 20:55 by zhq0425
[¿¼ÑÐ] 08ÉúÎïÓëҽҩר˶³õÊÔ346ÕÒµ÷¼Á +6 dianeeee 2026-04-01 7/350 2026-04-02 08:23 by guoweigw
[¿¼ÑÐ] »¯Ñ§¹¤³Ìר˶324·Ö£¬Ò»Ö¾Ô¸Öйú¿óÒµ´óѧÇóµ÷¼Á +7 ¹¢¹¢1314 2026-04-01 7/350 2026-04-02 07:40 by ÉÐË®¸óÖ÷
[¿¼ÑÐ] 286Çóµ÷¼Á +5 Sa67890. 2026-04-01 7/350 2026-04-01 19:50 by 6781022
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û