Thanks ,that might be enough I will check it out

On 13/02/2018 16:33, Yair Yarom wrote:

I haven't found a direct way. Here I have my own script that parses the
output of "scontrol show node" and "scontrol show job", summing up and
displaying the allocated gres.


On Tue, Feb 13 2018, Nadav Toledo <> wrote:

Hello everyone,

Does anyone know of way to get amount of idle gpu per node or for all cluster ?

sinfo -o %G gives the total amount of gres resource for each node. Is there a
way to get the idle amount same as you can get for cpu (%C)?
Perhaps if one use lock file like /dev/nvidia# for each gpu you can check their

Thanks in advance, Nadav


Reply via email to