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:
JOBID
shows theID
number of each job in queue.PARTITION
shows which partition each job is running in.NAME
is the name of the job which can be specified by the user creating it.USER
is the username of the user who created the job.ST
is the current state of each job; for exampleR
means a job is running andPD
means pending. There are other states as well - seeman squeue
for more details (underJOB STATE CODES
).TIME
shows how long each job has been running.NODES
shows how many nodes are involved in each job allocation.NODELIST
shows 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.