1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/linux/sstat.md
2020-10-14 23:16:14 +01:00

16 lines
472 B
Markdown

# 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`