![Forrest logo](/images/logo.png)
sacct:tldr:c3f1c
The command "sacct" is used to view the accounting information of jobs or job allocations on a Slurm cluster. Here is an explanation of the command with its options:
-
"--jobs": This option is used to specify the jobs to display information for. "${job_id}" should be replaced with the actual ID of the job you're interested in. It allows you to filter the output based on specific job IDs.
-
"--allocations": This option is used to display information about job allocations. It shows details about the resources allocated to each job, such as the amount of CPU time, memory, or other resources used.
By combining these options, the "sacct" command will show the accounting information (including resource allocations) for the specified job or jobs with the given ID.