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:
parent
fbfe2c201a
commit
6d0b062c36
2 changed files with 36 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue