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 <fzill...@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-boun...@lists.schedmd.com> on behalf of > Hemanta Sahu <hemantaku.s...@gmail.com> > *Sent:* Tuesday, 7 September 2021 09:57 > *To:* slurm-users@lists.schedmd.com <slurm-users@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 >