mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 09:41:50 +00:00
26 lines
636 B
Plaintext
26 lines
636 B
Plaintext
---
|
|
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"`
|