<div dir="ltr">I use this to get "|" separated data that gets pumped into a dashboard:<div><br></div><div>sreport -t percent -T ALL cluster utilization Start=${YESTERDAY}T${QNOW}  End=now -P | grep trihpc<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>#output format<br>#trihpc|cpu|14.62%|4.78%|0.00%|77.08%|3.52%|100.00%<br>#trihpc|mem|18.77%|5.57%|0.00%|75.67%|0.00%|100.00%<br>#trihpc|energy|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%<br>#trihpc|billing|14.62%|4.78%|0.00%|80.60%|0.00%|100.00%<br>#trihpc|fs/disk|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%<br>#trihpc|vmem|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%<br>#trihpc|pages|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%<br></div><div><br></div><div><br></div><div>Sid Young</div><div>W: <a href="https://off-grid-engineering.com" target="_blank">https://off-grid-engineering.com</a><br></div><div>W: (personal) <a href="https://sidyoung.com/" target="_blank">https://sidyoung.com/</a></div><div>W: (personal) <a href="https://z900collector.wordpress.com/" target="_blank">https://z900collector.wordpress.com/</a></div></div></div></div></div></div></div></div></div></div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 8, 2021 at 12:33 AM Florian Zillner <<a href="mailto:fzillner@lenovo.com">fzillner@lenovo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hi,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
you can run sreport like this:</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
sreport cluster AccountUtilizationByUser Start=$(date -d "last month" +%D) End=$(date -d "this month" +%D)</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
or</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
sreport cluster Utilization Start=$(date -d "last month" +%D) End=$(date -d "this month" +%D)<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt">and script something around it, to show what you're looking for.</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Cheers,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Florian</div>
<div>
<div id="gmail-m_-319821796082238913Signature">
<div>
<div>
<div></div>
</div>
</div>
</div>
</div>
<div id="gmail-m_-319821796082238913appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-319821796082238913divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> slurm-users <<a href="mailto:slurm-users-bounces@lists.schedmd.com" target="_blank">slurm-users-bounces@lists.schedmd.com</a>> on behalf of Hemanta Sahu <<a href="mailto:hemantaku.sahu@gmail.com" target="_blank">hemantaku.sahu@gmail.com</a>><br>
<b>Sent:</b> Tuesday, 7 September 2021 09:57<br>
<b>To:</b> <a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a> <<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>><br>
<b>Subject:</b> [External] [slurm-users] Node utilization for 24 hours</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>Hello ,</div>
<div><br>
</div>
<div>  Is there any commands or script available to see particular Node utilization percentage in terms of  (allocated CPU CoreMins/available CPU Coremins) for certain time period(lets say for last 1 week).</div>
<div><br>
</div>
<div> Appreciate any help in this regard</div>
<br>
<br>
</div>
<div dir="ltr"><br>
</div>
<div>Thanks</div>
<font color="#888888">
<div>Hemanta</div>
</font></div>
</div>
</div>

</blockquote></div>