...
Code Block | ||||
---|---|---|---|---|
| ||||
psanagpu104:~$ sacct -u khegazy JobID JobName Partition Account AllocCPUS State ExitCode ------------ ---------- ---------- ---------- ---------- ---------- -------- 466416 wrap psanaq 10 RUNNING 0:0 466416.batch batch 10 RUNNING 0:0 466418 wrap psanaq 10 RUNNING 0:0 466418.batch batch 10 RUNNING 0:0 466420 wrap psanaq 10 RUNNING 0:0 466420.batch batch 10 RUNNING 0:0 |
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, associations and users (format can be modified at will. Remove it to see all):
sacctmgr show associations Users=<user_names> format=cluster,account,partition,QOS
sacctmgr list associations -p accounts=<accounts>
sacctmgr show qos format=name,priority,usagefactor
Others
sprio -j <jobID>