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

2017-11-08 Thread Kilian Cavalotti
Hi Jeff, Quite close: $ sinfo --Format=nodehost,statelong Cheers, -- Kilian

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

2017-11-08 Thread Lachlan Musicman
I use alias sn='sinfo -Nle -o "%.20n %.15C %.8O %.7t" | uniq' and then it's just [root@machine]# sn cheers L. -- "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 consc

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

2017-11-08 Thread Jeff White
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