sacct Command Examples

Display accounting data from the Slurm service. More information: https://slurm.schedmd.com/sacct.html.

sacct

sacct {{[-b|--brief]}}

sacct {{[-j|--jobs]}} {{job_id}} {{[-X|--allocations]}}

sacct {{[-j|--jobs]}} {{job_id}} {{[-o|--format]}} Elapsed,JobName,ReqCPUS,ReqMem

sacct {{[-S|--starttime]}} $(date {{[-d|--date]}} "1 week ago" +'%F')

sacct {{[-o|--format]}} JobID,JobName%100