Slurm: Viewing the job queue🔗

Prev: Interacting with Slurm using the command line interface

This guide requires that you have completed: How to login

You can check the current status of the job queue using the squeue command:

$ squeue
squeue
JOBID       PARTITION   NAME     USER      ST   TIME     NODES NODELIST(REASON)
1297362     alvis       bash     c3-build  R    4:43:56      1 alvis2-19
1297662     alvis       jobscrip lnilss    R    1:13:04      1 alvis5-14
1297312     alvis       sys/dash lnilss    PD      0:00      1 (Dependency)

Explanation:

The squeue command lists all jobs in the queue. In this example only three jobs are shown. Jobs 1297362 and 1297662 are in STate Running on compute nodes alvis2-19 and alvis5-14 respectively. Job 1297312 is Pending due to a job dependency.

Next: Slurm: Submitting a batch job