2020-10-14 23:16:14 +01:00
|
|
|
# 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:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`scontrol suspend {{job_id1,job_id2,...}}`
|
2020-10-14 23:16:14 +01:00
|
|
|
|
|
|
|
- Resume a comma-separated list of suspended jobs:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`scontrol resume {{job_id1,job_id2,...}}`
|
2020-10-14 23:16:14 +01:00
|
|
|
|
|
|
|
- Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled):
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`scontrol hold {{job_id1,job_id2,...}}`
|
2020-10-14 23:16:14 +01:00
|
|
|
|
|
|
|
- Release a comma-separated list of suspended job:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`scontrol release {{job_id1,job_id2,...}}`
|