3.5.2. Display job information¶
3.5.2.1. Description¶
Display information of the jobs.
3.5.2.2. Usage¶
・ Default format:
qstat [-a] [-p] [-J] [-t] [-x] [ [job_identifier | destination] ...]
・ Long format:
qstat -f [-p] [-J] [-t] [-x] [ [job_identifier | destination] ...]
3.5.2.3. List of options¶
Option |
Value |
---|---|
-a |
Display memory usage, elapsed time, status of jobs, etc. |
-p |
Display the percentage of the job completion. |
-J |
Display limits status of job array. |
-t |
Displays status of jobs. |
-x |
Displays status of finished, queued, and running jobs. |
-f |
Display status in long format. |
3.5.2.4. Example¶
userA@gpu2:~> qstat -a
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
--------------- -------- -------- ---------- ------ --- --- ------ -----
3390.cmspbs1 userA P_030 abinit 193347 4 144 2760gb 72:00 R 47:28
3401.cmspbs1 userA P_030 prog9_1 121974 4 144 2760gb 72:00 R 47:26
userA@gpu2:~> qstat -p
Job id Name User % done S Queue
---------------- ---------------- ---------------- -------- - -----
3390.cmspbs1 abinit userA 2 R A_002
3401.cmspbs1 prog9_1 userA 0 R A_002
userA@gpu2:~> qstat -t
Job id Name User Time Use S Queue
---------------- ---------------- ---------------- -------- - -----
3390.cmspbs1 abinit userA 00:00:01 R A_002
3401.cmspbs1 prog9_1 userA 00:00:01 R A_002
userA@gpu2:~ > qstat -x
---------------- ---------------- ---------------- -------- - -----
Job id Name User Time Use S Queue
2235.cmspbs1 prog9_2 userA 00:00:03 F P_030
2236.cmspbs1 vasp4 userA 00:00:01 F P_030
2237.cmspbs1 prog9_1 userA 00:00:01 F P_030
以下略
userA@gpu2:~> qstat -f 3390.cmspbs1
Job Id: 3390.cmspbs1
Job_Name = abinit
Job_Owner = userA@cmspbs1
resources_used.cpupercent = 10
resources_used.cput = 00:00:01
resources_used.mem = 12836kb
resources_used.ncpus = 72
The rest is omitted