Skip to main content

Job Management

Slurm Job Management

Displaying queue and node information: sinfo

step1

View information about jobs in the queue: squeue

step2

To view detailed partition (queue) information: scontrol show partition

step3

View detailed node information: scontrol show node

step4

View detailed assignment information: scontrol show job $JOBID

step5

View job dynamic output: speek

step6

Note: This command does not come with slurm, it is encapsulated.

Terminate a job: scancel job_id

step7

Hang a queued job: scontrol hold job_id

step8 step8_2

Continue a queued job: scontrol release _job_id

step9

Suspend a running job: scontrol suspend job_id

step10

Resume a suspended job: scontrol resume job_id

step11

Unischeduler Job Management

View node information: bhosts

step1

View queue information: bqueues

step2

View app information: bapp

step3

View job information: bjobs

step4

View detailed job information: bjobs -l jobid

step5

View job dynamic output: jctrl peek -f job_id

step6

Terminate a job: bkill job_id

step7

Hang a job: jctl stop job_id

step8

Resume a job: jctl resume job_id

step9