1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/scontrol.md

25 lines
611 B
Markdown
Raw Normal View History

2020-10-15 03:46:14 +05:30
# 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,...}}`
2020-10-15 03:46:14 +05:30
- Resume a comma-separated list of suspended jobs:
`scontrol resume {{job_id1,job_id2,...}}`
2020-10-15 03:46:14 +05:30
- Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled):
`scontrol hold {{job_id1,job_id2,...}}`
2020-10-15 03:46:14 +05:30
- Release a comma-separated list of suspended job:
`scontrol release {{job_id1,job_id2,...}}`