cea-hpc/clustershell — Issue #165: Smart output gathering of nodes and common patterns
Author: thiell
Created: 2012-03-03 16:49:02+00:00
State: open
Labels: Lib

It would be very convenient to have a way to automagically gather similar outputs, for example:
{{{
$ clush -w azur[23,48] -B uptime
---------------
azur23
---------------
ssh: azur23: Name or service not known
---------------
azur48
---------------
ssh: azur48: Name or service not known
}}}
would become:
{{{
$ clush -w azur[23,48] -B --similar uptime
---------------
azur[23,48] (2)
---------------
ssh: azur[23,48]: Name or service not known
}}}
or
{{{
$ clush -w azur[23,48] -B --similar uptime
---------------
azur[23,48] (2)
---------------
ssh: [NODES]: Name or service not known
}}}