Difference between revisions of "Monitoring your jobs"
Ibers-admin (talk | contribs) |
|||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
There are various ways for you to monitor and check up on your running and completed jobs. | There are various ways for you to monitor and check up on your running and completed jobs. | ||
− | |||
− | + | === Check on you've submitted === | |
− | + | Once you have submitted your job scripts, you may want to check on the progress of what is running. This is achieved using the <nowiki>qstat</nowiki> command. This will show you your jobs. It might look something like; | |
+ | |||
+ | <nowiki> | ||
+ | [user@login01(aber) ~]$ squeue | ||
+ | JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) | ||
+ | 200133 amd myScript cos R 0:03 1 node008 | ||
+ | 200134 amd myScript cos R 0:01 1 node008 | ||
+ | 200135 amd myScript cos R 0:01 1 node008 | ||
+ | 200136 amd myScript cos R 0:01 1 node008 | ||
+ | 200137 amd myScript cos R 0:01 1 node008 | ||
+ | 200138 amd myScript cos R 0:02 1 node008 | ||
+ | 200139 amd myScript cos R 0:02 1 node008 | ||
+ | 200140 amd myScript cos R 0:02 1 node008 | ||
+ | |||
+ | </nowiki> | ||
+ | |||
+ | |||
+ | === Check a the status of a job === | ||
− | + | You can use the <nowiki>squeue -j JOB_ID</nowiki> command to get information about a running or queued job. Below is what you might find on a running job. | |
− | + | <nowiki> | |
+ | [user@bert ~]$ qstat -j 200133 | ||
+ | JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) | ||
+ | 200133 amd myScript cos R 0:03 1 node008 | ||
+ | </nowiki> | ||
− | |||
− | + | === job States === | |
− | + | ||
− | + | R = Job is running | |
− | + | PD = Job is waiting to run | |
− | + | CG = Job is completing | |
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 16:28, 27 October 2022
There are various ways for you to monitor and check up on your running and completed jobs.
Check on you've submitted
Once you have submitted your job scripts, you may want to check on the progress of what is running. This is achieved using the qstat command. This will show you your jobs. It might look something like;
[user@login01(aber) ~]$ squeue JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 200133 amd myScript cos R 0:03 1 node008 200134 amd myScript cos R 0:01 1 node008 200135 amd myScript cos R 0:01 1 node008 200136 amd myScript cos R 0:01 1 node008 200137 amd myScript cos R 0:01 1 node008 200138 amd myScript cos R 0:02 1 node008 200139 amd myScript cos R 0:02 1 node008 200140 amd myScript cos R 0:02 1 node008
Check a the status of a job
You can use the squeue -j JOB_ID command to get information about a running or queued job. Below is what you might find on a running job.
[user@bert ~]$ qstat -j 200133 JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 200133 amd myScript cos R 0:03 1 node008
job States
R = Job is running PD = Job is waiting to run CG = Job is completing