clustershell icon indicating copy to clipboard operation
clustershell copied to clipboard

Smart output gathering of nodes and common patterns

Open thiell opened this issue 13 years ago • 0 comments

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

thiell avatar Mar 03 '12 16:03 thiell