sacct, scancel, srun: add page (#4600)

This commit is contained in:
Caughlin Bohn
2020-10-13 06:09:06 -05:00
committed by GitHub
parent a00334e5ad
commit 91fd123241
3 changed files with 48 additions and 0 deletions

20
pages/linux/sacct.md Normal file
View File

@@ -0,0 +1,20 @@
# sacct
> Display accounting data from the Slurm service.
> More information: <https://slurm.schedmd.com/sacct.html>.
- Display job id, job name, partition, account, number of allocated cpus, job state, and job exit codes for recent jobs:
`sacct`
- Display job id, job state, job exit code for recent jobs:
`sacct --brief`
- Display the allocations of a job:
`sacct --jobs {{job_id}} --allocations`
- Display elapsed time, job name, number of requested CPUs, and memory requested of a job:
`sacct --jobs {{job_id}} --format={{elapsed}},{{jobname}},{{reqcpus}},{{reqmem}}`