HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sacctmgr — View, setup, and manage Slurm accounts. More information: <https://slurm.schedmd.com/sacctmgr.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandslurmsacctmgrandclimanagesetupview
linux

Problem

How to use the sacctmgr command: View, setup, and manage Slurm accounts. More information: <https://slurm.schedmd.com/sacctmgr.html>.

Solution

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"

Code Snippets

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"

Context

tldr-pages: linux/sacctmgr

Revisions (0)

No revisions yet.