[slurm-users] [External] Node utilization for 24 hours

Sid Young sid.young at gmail.com
Tue Sep 7 22:13:53 UTC 2021


I use this to get "|" separated data that gets pumped into a dashboard:

sreport -t percent -T ALL cluster utilization Start=${YESTERDAY}T${QNOW}
 End=now -P | grep trihpc

#output format
#trihpc|cpu|14.62%|4.78%|0.00%|77.08%|3.52%|100.00%
#trihpc|mem|18.77%|5.57%|0.00%|75.67%|0.00%|100.00%
#trihpc|energy|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%
#trihpc|billing|14.62%|4.78%|0.00%|80.60%|0.00%|100.00%
#trihpc|fs/disk|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%
#trihpc|vmem|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%
#trihpc|pages|0.00%|0.00%|0.00%|0.00%|0.00%|0.00%


Sid Young
W: https://off-grid-engineering.com
W: (personal) https://sidyoung.com/
W: (personal) https://z900collector.wordpress.com/



On Wed, Sep 8, 2021 at 12:33 AM Florian Zillner <fzillner at lenovo.com> wrote:

> Hi,
>
> you can run sreport like this:
> sreport cluster AccountUtilizationByUser Start=$(date -d "last month" +%D)
> End=$(date -d "this month" +%D)
> or
> sreport cluster Utilization Start=$(date -d "last month" +%D) End=$(date
> -d "this month" +%D)
>
> and script something around it, to show what you're looking for.
>
> Cheers,
> Florian
> ------------------------------
> *From:* slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of
> Hemanta Sahu <hemantaku.sahu at gmail.com>
> *Sent:* Tuesday, 7 September 2021 09:57
> *To:* slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
> *Subject:* [External] [slurm-users] Node utilization for 24 hours
>
> Hello ,
>
>   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).
>
>  Appreciate any help in this regard
>
>
>
> Thanks
> Hemanta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210908/b509ad4b/attachment.htm>


More information about the slurm-users mailing list