Re: [slurm-users] Free Gres resources

2018-02-13 Thread Nadav Toledo
This solution is even better. I am actually using pestat for my (as admin) needs. But I originally asked the question in order to enhance the ability of slurm_exporter which is a client side code for prometheus/grafana that export slurm statistics to be read as graphs.

Re: [slurm-users] Free Gres resources

2018-02-13 Thread Ole Holm Nielsen
On 02/13/2018 08:13 AM, Nadav Toledo wrote:> 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 li

Re: [slurm-users] Free Gres resources

2018-02-13 Thread Nadav Toledo
Thanks ,that might be enough I will check it out On 13/02/2018 16:33, Yair Yarom wrote: 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 g

Re: [slurm-users] Free Gres resources

2018-02-13 Thread Yair Yarom
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 wrote: > Hello everyone, > > Does anyone know of way to get amount of i

[slurm-users] Free Gres resources

2018-02-12 Thread Nadav Toledo
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