Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. Show all info under a account (nesi00213)

Code Block
languagebash
sacctmgr show account WithAssoc where name=nesi00213 cluster=maui format=user,cluster,GrpTRESMins%30

...

Removing the 'format=' will make it show all fields.

2. Show share info for a specific user

Code Block
languagebash
sshare -A nesi00213 -u tdn27 --cluster maui --format user,GrpTRESRaw%110,GrpTRESMins

...

Code Block
      User                                                                                                     GrpTRESRaw                    GrpTRESMins 
----------                                                          ----------------------------------------------------- ------------------------------ 
                              cpu=21996738,mem=38765191976,energy=0,node=274959,billing=21996738,fs/disk=0,vmem=0,pages=0                                
     tdn27                       cpu=1472782,mem=15203689887,energy=0,node=18409,billing=1472782,fs/disk=0,vmem=0,pages=0                billing=1959124


IMPORTANT:

The current way Slurm is installed/setup will have a  two week half-life.

e.g. all numbers under GrpTRESRaw will decay every 5 minutes, with a rate that would halve it in 14 days.
every 5 minute the numbers are multiplied by (1-0.000124008)

3. Set Rules for a User

Lets say will want to give tdn27 4k core hours.

...


This command will give the user 4k CH.

Note:
because of the decay period, this step has to be constantly updated, or user will have free usage every few days.


4. Extra Notes

Combination with Historic usage from Dash board will be more precise and less manual work ( not yet implemented)

...