[slurm-users] GrpTRESMins and GrpTRESRaw usage

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu Jun 23 19:47:38 UTC 2022


On 23-06-2022 19:19, Miguel Oliveira wrote:
> We use a python wrapper to do this but the basic command to retrieved 
> account minutes is:
> 
> 'scontrol -o show assoc_mgr | grep "^QOS='+account+’"'
> 
> You then have to parse the output for "GrpTRESMins=“. The output will be 
> two numbers. The first is the limit, or N for no limit, while the next 
> one in parenthesis is the consumed.

You may perhaps find it easier to use my showuserlimits script from 
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/showuserlimits

/Ole



More information about the slurm-users mailing list