Skip to main content

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