qstat 语法:
qstat [-f][-W site_specific] [job_identifier... | destination...]
qstat [-a|-i|-r] [-n] [-s] [-G|-M] [-R] [-u user_list] [job_identifier... | destination...]
qstat -Q [-f][-W site_specific] [destination...]
qstat -q [-G|-M] [destination...]
qstat -B [-f][-W site_specific] [server_name...]
qstat 参数:
-f jobid, job的详细信息
Specifies that a full status display be written to standard out.
-a
"All" jobs are displayed in the alternative format, see the Standard Output section. If the operand is a destination id, all jobs at that destination are displayed. If the operand is a job id, information about that job is displayed.
-i
Job status is displayed in the alternative format. For a destination id operand, status for jobs at that destination which are not running are displayed. This includeds jobs which are queued, held or waiting. If an operand is a job id, status for that job is displayed regardless of its state.
-r
If an operand is a job id, status for that job is displayed. For a destination id operand, status for jobs at that destination which are running are displayed, this includeds jobs which are suspended. If an operand is a job id, status for that job is displayed.
-n
In addition to the basic information, nodes allocated to a job are listed.
-s
In addition to the basic information, any comment provided by the batch administrator or scheduler is shown.
-G
Show size information in giga-bytes.
-M
Show size information, disk or memory in mega-words. A word is considered to be 8 bytes.
-R
In addition to other information, disk reservation information is shown. Not applicable to all systems.
-u userid 该用户的job
Job status is displayed in the alternative format. If an operand is a job id, status for that job is displayed. For a destination id operand, status for jobs at that destination which are owned by the user(s) listed in are displayed. The syntax of the is:
Host names may be wild carded on the left end, e.g. "*.nasa.gov". User_name without a "@host" is equivalent to "user_name@*", that is at any host.
-Q
Specifies that the request is for queue status and that the operands are destination identifiers.
-q
Specifies that the request is for queue status which should be shown in the alternative format.
-B
Specifies that the request is for batch server status and that the operands are the names of servers.