mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 07:55:02 +00:00
Update cheatsheets
This commit is contained in:
25
linux/sacctmgr
Normal file
25
linux/sacctmgr
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 using a specific format:
|
||||
|
||||
`sacctmgr show {{user|association|cluster|account}} format="Account%10" format="GrpTRES%30"`
|
||||
Reference in New Issue
Block a user