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 <slurm-users-boun...@lists.schedmd.com> on behalf of Kevin 
Manalo <kman...@jhu.edu>
Reply-To: Slurm User Community List <slurm-users@lists.schedmd.com>
Date: Monday, February 5, 2018 at 3:34 PM
To: "slurm-users@lists.schedmd.com" <slurm-users@lists.schedmd.com>
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