[slurm-users] Free Gres resources

Yair Yarom irush at cs.huji.ac.il
Tue Feb 13 07:33:40 MST 2018


Hi,

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.

    Yair.

On Tue, Feb 13 2018, Nadav Toledo <nadavtoledo at 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 their
> states?
>
> Thanks in advance, Nadav



More information about the slurm-users mailing list