Skip to content

Usage Report

Usage report

mybudget: Check allocated core hours

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

myreport: Check consumed core hours and energy.

Cluster/Account/User Utilization 2025-02-05T00:00:00 - 2025-08-05T16:59:59 (15696000 secs)
Usage reported in CPU Hours
--------------------------------------------------------------------------------
  Cluster         Account     Login     Proper Name     Used    Energy 
--------- --------------- --------- --------------- -------- --------- 
     aris        testproj username  user        2458     77006 

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.