sacct Command Examples

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

sacct

sacct --brief

sacct --jobs {{job_id}} --allocations

sacct --jobs {{job_id}} --format=Elapsed,JobName,ReqCPUS,ReqMem

sacct --starttime=$(date -d "1 week ago" +'%F')

sacct --format=JobID,JobName%100