mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 14:53:57 +00:00
Update cheatsheets
This commit is contained in:
29
linux/scontrol
Normal file
29
linux/scontrol
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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,...}}`
|
||||
Reference in New Issue
Block a user