squeue displays all submitted jobs.
squeue
$ squeue JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 22 drcluster hostname drc14 PD 0:00 3 (PartitionConfig)
A list of state codes can be found HERE.