Re: [slurm-users] slurm sinfo format memory

2023-07-21 Thread Michael DiDomenico
another option besides those mentioned would be to frontend sinfo with jq/python and parse the data through json/yaml On Thu, Jul 20, 2023 at 12:28 PM Arsene Marian Alain wrote: > > > > Dear slurm users, > > > > I would like to see the following information of my nodes "hostname, total > mem, fr

Re: [slurm-users] slurm sinfo format memory

2023-07-21 Thread Ole Holm Nielsen
Hi Arsene, On 7/20/23 18:24, Arsene Marian Alain wrote: > I would like to see the following information of my nodes "hostname, total > mem, free mem and cpus". So, I used  ‘sinfo -o "%8n %8m %8e %C"’ but in > the output it shows me the memory in MB like "190560" and I need it in GB > (without d

Re: [slurm-users] slurm sinfo format memory

2023-07-21 Thread Kevin Buckley
On 2023/07/21 00:24, Arsene Marian Alain wrote: I would like to see the following information of my nodes "hostname, total mem, free mem and cpus". So, I used 'sinfo -o "%8n %8m %8e %C"' but in the output it shows me the memory in MB like "190560" and I need it in GB (without decimals if poss

Re: [slurm-users] slurm sinfo format memory

2023-07-20 Thread Feng Zhang
Looks like Slurm itself only supports that format(in MB unit). Slurm commands output format is not very user friendly to me. If it can add some easy options, like for the output info of sinfo command in this email thread, how about adding support for lazy options, like sinfo -ABC, etc. For the des

[slurm-users] slurm sinfo format memory

2023-07-20 Thread Arsene Marian Alain
Dear slurm users, I would like to see the following information of my nodes "hostname, total mem, free mem and cpus". So, I used 'sinfo -o "%8n %8m %8e %C"' but in the output it shows me the memory in MB like "190560" and I need it in GB (without decimals if possible) like "190GB". Any ideas