sacctmgr, sreport: add page (#4646)
This commit is contained in:
20
pages/linux/sacctmgr.md
Normal file
20
pages/linux/sacctmgr.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# sacctmgr
|
||||||
|
|
||||||
|
> View, setup, and manage Slurm accounts.
|
||||||
|
> More information: <https://slurm.schedmd.com/sacctmgr.html>.
|
||||||
|
|
||||||
|
- Show current configuration:
|
||||||
|
|
||||||
|
`sacctmgr show configuration`
|
||||||
|
|
||||||
|
- Add a cluster to the slurm database:
|
||||||
|
|
||||||
|
`sacctmgr add cluster {{cluster_name}}`
|
||||||
|
|
||||||
|
- Add an account to the slurm database:
|
||||||
|
|
||||||
|
`sacctmgr add account {{account_name}} cluster={{cluster_of_account}}`
|
||||||
|
|
||||||
|
- Show details of user/association/cluster/account:
|
||||||
|
|
||||||
|
`sacctmgr show {{user/association/cluster/account}}`
|
16
pages/linux/sreport.md
Normal file
16
pages/linux/sreport.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# sreport
|
||||||
|
|
||||||
|
> Generate reports on jobs, users, and clusters from accounting data.
|
||||||
|
> More information: <https://slurm.schedmd.com/sreport.html>.
|
||||||
|
|
||||||
|
- Show pipe delimited cluster utilization data:
|
||||||
|
|
||||||
|
`sreport --parsable cluster utilization`
|
||||||
|
|
||||||
|
- Show number of jobs run:
|
||||||
|
|
||||||
|
`sreport job sizes printjobcount`
|
||||||
|
|
||||||
|
- Show users with highest cpu time use:
|
||||||
|
|
||||||
|
`sreport user topuser`
|
Reference in New Issue
Block a user