Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
linux/scontrol Normal file
View 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,...}}`