Skip to content

Usage Report

Usage report

mybudget: Check allocated core hours

$ mybudget
=======================================================================
Core Hours Allocation Information for account : myproj
=======================================================================
Allocated Core Hours   :        2400000.00
Consumed  Core Hours   :             15.00
Percentage of Consumed :              0.00
=======================================================================

myreport: Check consumed core hours and energy.

[user@login06 ~]$ myreport 
--------------------------------------------------------------------------------
Cluster/Account/User Utilization 2025-05-01T00:00:00 - 2026-05-14T15:59:59 (32716800 secs)
Usage reported in TRES Hours
--------------------------------------------------------------------------------
  Cluster         Account     Login     Proper Name      TRES Name       Used 
--------- --------------- --------- --------------- -------------- ---------- 
     aris        myproj                                        cpu          1 
     aris        myproj                             gres/gpu:1g.1+          2 
     aris        myproj                             gres/gpu:2g.2+          3 
     aris        myproj                             gres/gpu:3g.4+          4 
     aris        myproj                              gres/gpu:a100          5 

You can check the stats of a finished job use

sacct -j <job-id> --format=jobid,TRESUsageInAve%110

You can check the stats of a running job use

sstat -j <job-id> --format=jobid,TRESUsageInAve%110

Example sacct/sstat

sacct -j 24344 --format=jobid,TRESUsageInAve%110

JobID                     TRESUsageInAve
------------   -------------------------------------------------------------------------------------------------------------

24344.batch                                                                                                                 
24344.0        cpu=00:05:26,energy=245700,fs/disk=11347680009,gres/gpumem=79652M,gres/gpuutil=87,mem=6240948K,pages=0,vmem=0 
24344.2        cpu=00:06:36,energy=405275,fs/disk=12390472518,gres/gpumem=79652M,gres/gpuutil=88,mem=7515204K,pages=0,vmem=0 
24344.3        cpu=00:07:42,energy=528515,fs/disk=13429313986,gres/gpumem=79652M,gres/gpuutil=88,mem=8113024K,pages=0,vmem=0

mem           -- Average resident memory (RAM).
gres/gpumem   -- GPU memory (VRAM) in use, in MB.
gres/gpuutil  -- Average GPU utilisation as a percentage

- Jobs older than two months are not available with sacct.
- Metrics only on gpu:a100; not supported for MIG.