-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58af31d
commit fbfe2c2
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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_id}}` | ||
|
||
- Resume a comma-separated list of suspended jobs: | ||
|
||
`scontrol resume {{job_id}}` | ||
|
||
- Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled): | ||
|
||
`scontrol hold {{job_id}}` | ||
|
||
- Release a comma-separated list of suspended job: | ||
|
||
`scontrol release {{job_id}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# sstat | ||
|
||
> View information about running jobs. | ||
> More information: <https://slurm.schedmd.com/sstat.html>. | ||
- Display status information of a comma-separated list of jobs: | ||
|
||
`sstat --jobs={{job_id}}` | ||
|
||
- Display job ID, average CPU and average virtual memory size of a comma-separated list of jobs, with pipes as column delimiters: | ||
|
||
`sstat --parsable --jobs={{job_id}} --format={{JobID}},{{AveCPU}},{{AveVMSize}}` | ||
|
||
- Display list of fields available: | ||
|
||
`sstat --helpformat` |