[slurm-users] Determine usage for a QOS?

Skouson, Gary gbs35 at psu.edu
Wed Aug 22 07:16:36 MDT 2018


A while ago, I thought a patch was made to sshare to show raw tres usage.

Something like 

sshare -o account,user,GrpTRESRaw

At the time I used this, I was only concerned with account usage, so I didn't look to see if sshare would work on the QOS level. 

I'm not sure that "feature" was in the man page last time I looked.

-----
Gary Skouson


-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Christopher Samuel
Sent: Sunday, August 19, 2018 9:39 PM
To: slurm-users at lists.schedmd.com
Subject: Re: [slurm-users] Determine usage for a QOS?

Hi Paul,

On 20/08/18 11:36, Paul Edmon wrote:

> I don't really have enough experience with QoS's to give a slicker
> method but you could use squeue --qos to poll the QoS and then write a
> wrapper to do the summarization.  It's hacky but it should work.

I was thinking sacct -q ${QOS} to pull info out of the DB, but as
Slurm will be keeping this info locally to determine whether new
jobs can use the QOS I wondered if there was a less heavy-handed
way to get it.

I might dig into the code before opening a support request.

cheers!
Chris
-- 
  Chris Samuel  :  https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.csamuel.org%2F&data=02%7C01%7Cgbs35%40psu.edu%7C5118db0eb1ef46588f3608d6063dc876%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C636703259759774650&sdata=7mRWpfhD%2BtzOBNhwWm9VhbWm6k8GKG9sCRHV3q19nbY%3D&reserved=0  :  Melbourne, VIC



More information about the slurm-users mailing list