LinuxCommandLibrary

scontrol

View information about and modify jobs.

TLDR

Show information for job

$ scontrol show job [job_id]
copy


Suspend a comma-separated list of running jobs
$ scontrol suspend [job_id]
copy


Resume a comma-separated list of suspended jobs
$ scontrol resume [job_id]
copy


Hold a comma-separated list of queued jobs (Use release command to permit the jobs to be scheduled)
$ scontrol hold [job_id]
copy


Release a comma-separated list of suspended job
$ scontrol release [job_id]
copy

Copied to clipboard