squeue

This command allows you to see the queue – i.e. jobs that are running or are yet to run, including your own and those of others.

To interpret the results see the table of job states.

Typical output is of the form:

squeue
  JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)
  59600   compute    NPT_3   essczk PD       0:00      4 (Dependency)
  59214   compute     VASP    cmsry  R   17:16:43     11 node[0001-0006,0033-0037]
  59214   compute     VASP    cmsry  R   17:16:43     11 node[0001-0006,0033-0037]
  59216   compute     VASP    cmsry PD       0:00     11 (QOSMaxCpuPerUserLimit)
  58645   compute lammps_s   jch936 PD       0:00      4 (AssocGrpCPUMinutesLimit)
  57795   compute aragonit   phrgbe PD       0:00      1 (job requeued in held state)
Column Meaning
JOBID ID of job/array.
PARTITION Partition job pending for or running on.
NAME Name of job
USER Username of job submitter.
ST job state.
NODES Number of nodes requested or running on.
NODELIST(REASON) List of nodes running on, or reason for state.

To show just your own jobs use:

squeue -u yourusername

To show when a job might start use

squeue --start

Additional documentation

SLURM web pages