Monitoring your jobs

From IBERS Bioinformatics and HPC Wiki
Revision as of 16:28, 27 October 2022 by Ibers-admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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