Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sstat, scontrol: add page #4689

Merged
merged 5 commits into from
Oct 14, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions pages/linux/scontrol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# scontrol

> View information about running jobs.
npalladium marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://slurm.schedmd.com/scontrol.html>.

- Show information for job:

`scontrol show job {{job_id}}`

- Suspend a running job:
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`scontrol suspend {{job_id}}`

- Resume a suspended job:
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`scontrol resume {{job_id}}`

- Hold a queued job (gives it least priority):
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`scontrol hold {{job_id}}`

- Release a held job:
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`scontrol release {{job_id}}`
npalladium marked this conversation as resolved.
Show resolved Hide resolved
16 changes: 16 additions & 0 deletions pages/linux/sstat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# sstat

> View information about running jobs.
sbrl marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://slurm.schedmd.com/sstat.html>.

- Show status information for job:
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`sstat --jobs={{job_id}}`

- Show selected information with pipes as column delimiters:
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`sstat --parsable --jobs={{job_id}} --format={{comma separated field list}}`
npalladium marked this conversation as resolved.
Show resolved Hide resolved

- Show list of fields available:
npalladium marked this conversation as resolved.
Show resolved Hide resolved

`sstat --helpformat`