Checking the queue
When using the cluster, you typically wish to see an overview of what is currently in the queue. For example to see how many jobs might be waiting ahead of you or to get an overview of your own jobs.
The command squeue can be used to get a general overview:
squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
31623 batch DRSC xxxxxxxx R 6:45:14 1 i256-a10-10
31693 batch singular yyyyyyyy R 24:20 1 i256-a40-01
31694 batch singular yyyyyyyy R 24:20 1 i256-a40-01
31695 batch singular yyyyyyyy R 24:20 1 i256-a40-01
31696 batch singular yyyyyyyy R 24:20 1 i256-a40-01
31502 prioritiz runQHGK. zzzzzzzz PD 0:00 1 (Dependency)
31504 prioritiz runQHGK. zzzzzzzz PD 0:00 1 (Dependency)
JOBIDshows theIDnumber of each job in queue.PARTITIONshows which partition each job is running in.NAMEis the name of the job which can be specified by the user creating it.USERis the username of the user who created the job.STis the current state of each job; for exampleRmeans a job is running andPDmeans pending. There are other states as well - seeman squeuefor more details (underJOB STATE CODES).TIMEshows how long each job has been running.NODESshows how many nodes are involved in each job allocation.NODELISTshows which node(s) each job is running on, or alternatively, why it is not running yet.
Showing your own jobs only:
squeue --me
squeue can show many other details about jobs as well. Run man squeue to see detailed documentation on how to do this.