<div dir="ltr"><div>Dear All, <br></div><div><br></div><div>Please share the correct way of calculating the GPU usages.</div><div> I am confused with sreport and sacct cmd. I am getting a different result. <br></div><div><br></div><div># sreport cluster AccountUtilizationByUser cluster=**** user=j.mira start=2021-05-01 end=2021-08-31 --tres="gres/gpu" <br>--------------------------------------------------------------------------------<br>Cluster/Account/User Utilization 2021-05-01T00:00:00 - 2021-08-30T23:59:59 (10540800 secs)<br>Usage reported in TRES Minutes<br>--------------------------------------------------------------------------------<br>  Cluster         Account     Login     Proper Name      TRES Name     Used <br>--------- --------------- --------- --------------- -------------- -------- <br>****       chemistry    j.mira          j.mira       gres/gpu   <b>149434 </b><br></div><div><br></div><div># sacct --account=chemistry --format=jobid,user,ElapsedRaw,state,AllocGRES,ncpus --starttime=2021-05-01 --endtime=2021-08-01  | grep j.mira| grep gpu| awk '{sum += $3} END {print sum}'<br><b>4957060</b><br></div><div><br></div><div>Please share the correct way.<br></div><div><br></div><div>With Thanks and regards<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jeherul Islam </div><br></div></div></div></div>