Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
scontrol show jobid -dd <jobID>

(scontrol does not show information about jobs that have completed more than a few minutes ago)


For detailed reporting and stats on jobs, use sacct, e.g.Another option is to use the sacct command,  getting all jobs for user <USER> that started after starttime (e.g.: 2024-06-15):

Code Block
export FMT="reservation,jobid,jobname,User,reqcpus,ntasks,reqmem,averss,maxrss,elapsed,state%20,exitcode,Submit,Start,End,Account%17,Partition,AveCpu,NodeList%30 --unit=M"
sacct --format=${FMT} -u <USER>  --starttime 2024-06-15 

or for specific job(s) and/or account(s) using additional format options

Code Block
sacct -a -j 50612401 -A lcls:xcsl1018322 -o JobID,JobName,Partition,Account%18,AllocCPUS,Nodelist%24,NNodes,start,elapsed,workdir%60,submitline%160


Get information about current reservation

...