1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:42:09 +02:00
tldr/pages/linux/sacctmgr.md
2022-07-11 02:05:01 +02:00

20 lines
544 B
Markdown

# 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"`