![Forrest logo](/images/logo.png)
sacctmgr:tldr:bd5c8
sacctmgr: Show details of user/association/cluster/account using a specific format.
$ sacctmgr show ${select} format="Account%10" format="GrpTRES%30"
try on your machine
This command is using the sacctmgr
command-line tool to display certain information about accounts and resource groups.
Here's a breakdown of the command:
sacctmgr
: This is the command-line tool that interacts with the Slurm accounting manager.show
: Specifies that we want to display information.${select}
: This is a placeholder for specifying the selection criteria. It would need to be replaced with actual selection criteria for the command to work properly.format="Account%10"
: Sets the format for displaying account information. Here,%10
specifies that the field should have a width of 10 characters.format="GrpTRES%30"
: Sets the format for displaying information about the group's consumed resources.%30
specifies that the field should have a width of 30 characters.
To use this command, you would need to replace ${select}
with valid selection criteria. For example, if you want to display information about all accounts, you could replace ${select}
with all
.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.