slurm check all completed job code example
Example: bash slurm view jobs from date
# Basic syntax:
sacct -S yyyy-mm-dd -u username --format=User,JobID,Jobname%60,state,time,start,end,elapsed,CPUTime,MaxRss,MaxVMSize,MaxDiskRead,MaxDiskWrite,nnodes,ncpus,nodelist
# Where:
# - --format specifies the fields to return
# - %60 specifies the number of characters to make available for
# the given field