Files
cheatsheet-tldr/tldr/linux/sstat

22 lines
556 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`