Skip to content

Slurm report

Usage report in CPU Hours

Report cluster account utilization by filing specified fields for the desired period of time start/end:

sreport cluster AccountUtilizationByUser user=$USER -t Hours start=2021-01-01 end=2021-05-25 format=Proper%20,Login%20,Accounts,Used

Usage report in TRES Hours

Fill specified fields for the desired period of time start/end:

account=$(sacctmgr show assoc cluster=vega user=$USER format=account -n) | sreport --tres billing cluster AccountUtilizationByAccount account=$account -t Hours start=2021-01-01 end=2021-05-25 format=Proper%20,Login%20,Accounts,Used