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 <nadavtol...@cs.technion.ac.il> 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
> Thanks in advance, Nadav