[slurm-users] Get GPU usage from sacct?

Janne Blomqvist janne.blomqvist at aalto.fi
Fri Nov 15 11:58:22 UTC 2019

On 14/11/2019 20.41, Prentice Bisbal wrote:
> Is there any way to see how much a job used the GPU(s) on a cluster
> using sacct or any other slurm command?

We have created
https://github.com/AaltoScienceIT/ansible-role-sacct_gpu/ as a quick
hack to put GPU utilization stats into the comment field at the end of
the job.

The above is an ansible role, but if you're not using ansible you can
just pull the scripts from the "files" subdirectory.

Janne Blomqvist, D.Sc. (Tech.), Scientific Computing Specialist
Aalto University School of Science, PHYS & NBE
+358503841576 || janne.blomqvist at aalto.fi

More information about the slurm-users mailing list