[slurm-users] Node status (without repeats)
Ole Holm Nielsen
Ole.H.Nielsen at fysik.dtu.dk
Mon Aug 8 18:31:34 UTC 2022
On 08-08-2022 19:14, Borchert, Christopher B ERDC-RDE-ITL-MS CIV wrote:
> Hello. How can I simply show the status of a node in Slurm? It repeats the
> same output per partition even when the partition column isn't included.
>
> $ sinfo -N -o '%N %a %t'
> NODELIST AVAIL STATE
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
> roy-r1-cp15b up idle
The "sinfo -N" command works as documented in "man sinfo" :-) What do
you mean by "simply show the status of a node"? There are other useful
commands:
1. scontrol show node roy-r1-cp15b
2. A small script "shownode" from
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/nodes
3. The "pestat" command from
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat can be
used like this:
pestat -w roy-r1-cp15b
I hope this helps.
/Ole
More information about the slurm-users
mailing list