1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 17:06:01 +02:00

sacctmgr, sreport: add page (#4646)

This commit is contained in:
Nikhil Reddy 2020-10-15 03:46:46 +05:30 committed by GitHub
parent fbfe2c201a
commit 6d0b062c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

20
pages/linux/sacctmgr.md Normal file
View 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
View 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`