===== hold and release job =====
only admin can release:
scontrol hold id_0
user can release:
scontrol uhold id_0 id_1
scontrol release id_0
===== account and user setup =====
sacctmgr add acount account_name parent=root share=1
sacctmgr add user 70032 account=account_name
===== adding qos =====
sacctmgr add qos test2 GrpTRES=cpu=300
sacctmgr update qos test2 set MaxTRESPU=node=4
Remove a constraint:
sacctmgr update qos test2 set MaxTRESPU=node=-1
===== trackable resources (tres) =====
sacctmgr show tres
* licences
* gpus
* …
===== reservations =====
scontrol create reservation starttime=$START \
endtime=$END \
partitionname=$PARTITION \
Accounts=$ACCOUNT \
Users=$Users \
Nodecnt=$NODECOUNT
scontrol show res
Flags=MAINT
===== sreport =====
show usage statistics
sreport cluster utilization
* cluster
* job
* reservation
* user