[slurm-users] Get list of nodes and their status, one node per line, no duplicates

Lachlan Musicman datakid at gmail.com
Wed Nov 8 15:19:33 MST 2017

I use

alias sn='sinfo -Nle -o "%.20n %.15C %.8O %.7t" | uniq'

and then it's just

[root at machine]# sn


"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
creative agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "

*Greg Bloom* @greggish

On 9 November 2017 at 08:17, Jeff White <jeff.white at wsu.edu> wrote:

> Subject says it all.  Is there a way to get a list of nodes, their status,
> and NOT have duplicate entries in the output?  This is what I have so far
> but it seems to duplicate nodes if they exist in more than 1 partition,
> which is true of all my nodes.
> sinfo --Node --Format=nodelist,statelong
> --
> Jeff White
> HPC Systems Engineer - ITS
> Question about or help with Kamiak? Please submit a Service Request
> <https://hpc.wsu.edu/support/service-requests/>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20171109/c7bec24d/attachment.html>

More information about the slurm-users mailing list