Syntax
Description
Options
-h
Print the command usage on standard output and exit.
-u username
Show the job belonging to the user username only (default display
all users).
-s stat
Show the status of batch jobs in specified state (R/PD/H/TO/CA/CD/O).
R - Running (job is currently running)
PD - Pending in Slurm queue
H - Hold in PBS queue (Dependency)
-q queue
Show the job belongs to given queue.
Show the statue of batch jobs in specified queue
-a account
Show the status of batch jobs belonging to specified account
-j job_id
Show only the status of a given job. If the command succeeds and
the job is still in the queue, the output will be one of the
followings: R/PD/H/TO/CA/CD/O. Otherwise "Unknown Job Id xxx" will
be printed out and the command will exit with a non-zero value.