only admin can release:
scontrol hold id_0
user can release:
scontrol uhold id_0 id_1
scontrol release id_0
sacctmgr add acount account_name parent=root share=1
sacctmgr add user 70032 account=account_name
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
sacctmgr show tres
scontrol create reservation starttime=$START \ endtime=$END \ partitionname=$PARTITION \ Accounts=$ACCOUNT \ Users=$Users \ Nodecnt=$NODECOUNT
scontrol show res
Flags=MAINT
show usage statistics
sreport cluster utilization