HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

scontrol — View information about and modify jobs. More information: <https://slurm.schedmd.com/scontrol.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandscontrolandmodifycliinformationaboutview
linux

Problem

How to use the scontrol command: View information about and modify jobs. More information: <https://slurm.schedmd.com/scontrol.html>.

Solution

scontrol — View information about and modify jobs. More information: <https://slurm.schedmd.com/scontrol.html>.

Show information for job:
scontrol show job {{job_id}}


Suspend a comma-separated list of running jobs:
scontrol suspend {{job_id1,job_id2,...}}


Resume a comma-separated list of suspended jobs:
scontrol resume {{job_id1,job_id2,...}}


Hold a comma-separated list of queued jobs (Use release command to permit the jobs to be scheduled):
scontrol hold {{job_id1,job_id2,...}}


Release a comma-separated list of suspended job:
scontrol release {{job_id1,job_id2,...}}

Code Snippets

Show information for job

scontrol show job {{job_id}}

Suspend a comma-separated list of running jobs

scontrol suspend {{job_id1,job_id2,...}}

Resume a comma-separated list of suspended jobs

scontrol resume {{job_id1,job_id2,...}}

Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled)

scontrol hold {{job_id1,job_id2,...}}

Release a comma-separated list of suspended job

scontrol release {{job_id1,job_id2,...}}

Context

tldr-pages: linux/scontrol

Revisions (0)

No revisions yet.