Forrest logo
back to the sacct tool

sacct:tldr:c3f1c

sacct: Display the allocations of a job.
$ sacct --jobs ${job_id} --allocations
try on your machine

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.

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.
back to the sacct tool