Skip to content

Job accounting

Project website

Go to our project service page service.vsc.ac.at and log in with your VSC cluster user. There, at the menu item 'view statistics' the various project resources and their use can be seen. The used up core-h are listed at 'cpu contingent'

sacct

In order to customize your accounting request, the command sacct allows for assessing information from the Slurm job accounting log or Slurm database. The default output values are jobs, job steps, status, and exit codes. By specifying the format, the output of sacct can be customized. In the framework of this section only a minimal subset of options is listed.

See the full list of commands here, or via the man pages with
zen username@l53:~$man sacct

Some examples are,

[...@... ~]$ sacct -o Account,User,UID,AveCPUFreq,Elapsed,Start,End,TotalCPU
[...@... ~]$ sacct --format=Account,User,UID,AveCPUFreq,Elapsed,Start,End,TotalCPU
[...@... ~]$ sacct --format=JobID,UID,State,ExitCode
[...@... ~]$ sacct -o UID,User,Account,Group,JobID,JobName,Elapsed,Start,End

A shorthand to show all the parameters is,

-l, --long
which is equivalent to,
-o jobid,jobname,partition,maxvmsize,maxvmsizenode,maxvmsizetask, avevmsize,maxrss,maxrssnode,maxrsstask,averss,maxpages,maxpagesnode, maxpagestask,avepages,mincpu,mincpunode,mincputask,avecpu,ntasks, alloccpus,elapsed,state,exitcode,maxdiskread,maxdiskreadnode,maxdiskreadtask, avediskread,maxdiskwrite,maxdiskwritenode,maxdiskwritetask,avediskwrite, allocgres,reqgres

Whereas minimum information (-o jobid,status,exitcode) is returned via the option

-b, --brief