For anyone using Slurm tool often, the following utilities is really helpful: https://github.com/SchedMD/slurm/tree/master/contribs/slurm_completion_help
sinfo is used to view partition and node information for a system running Slurm.
Examples
|
( %C shows "allocated/idle/other/total") So 991 cores are still in use. With -o "%n %C"
one gets the usage per node:
|
scontrol is used to view or modify Slurm configuration including: job, job step, node, partition, reservation, and overall system configuration. Most of the commands can only be executed by user root or an Administrator.
scontrol show jobid -dd <jobID>
scontrol show res
sacctmgr is used to deal with accounts, assocations and users (format can be modified at will. Remove it to see all):
sacctmgr show associations Users=espov format=cluster,account,partition,QOS
Show priorities for an account: sacctmgr list associations -p accounts=<accounts>
Show priority level for a job: sprio -j <jobID>
Show priority coefficients: sacctmgr show qos format=name,priority,usagefactor