No, sreport is the way to go there.  This would give you % utilization for the 
month of March, 2017.

sreport -t per  clust util           start=3/1/17 end=3/31/17
You can ask sreport for lots of other stuff too.  I like the numbers in 
CPU-hours (rather than the default of CPU-seconds):

sreport -t hour clust util           start=3/1/17 end=3/31/17
sreport -t hour user top topcount=20 start=3/1/17 end=3/31/17

From: slurm-users <[email protected]> on behalf of Kevin 
Manalo <[email protected]>
Reply-To: Slurm User Community List <[email protected]>
Date: Monday, February 5, 2018 at 3:34 PM
To: "[email protected]" <[email protected]>
Subject: [slurm-users] Getting a runtime percentage of % allocated on cluster


Hi SLURM users,



Is parsing 'sinfo' the best way to do this?



I just want to obtain a percentage (similar to how xdmod reports utilization %).



Thanks,

Kevin

Reply via email to