CLUBAK(1) | ClusterShell User Manual | CLUBAK(1) |
clubak - format output from clush/pdsh-like output and more
clubak [ OPTIONS ]
clubak formats text from standard input containing lines of the form "node:output". It is fully backward compatible with dshbak(1) but provides additional features. For instance, clubak always displays its results sorted by node/nodeset.
You do not need to use clubak when using clush(1) as all output formatting features are already included in. It is provided for other usages, like post-processing results of the form "node:output".
Like clush(1), clubak uses the ClusterShell.MsgTree module of the ClusterShell library (see pydoc ClusterShell.MsgTree).
clubak should be started with connected standard input.
An exit status of zero indicates success of the clubak command.
# clush -w node[1-7] uname -r >/tmp/clush_output # clush -w node[32-159] uname -r >>/tmp/clush_output
# clubak -bL </tmp/clush_output
# find -name "node*" -exec wc -c {} ; | awk '{ gsub("./","",$2); print $2": "$1 }' | clubak -bL node[1,3]: 7 node2: 9
cluset(1), clush(1), nodeset(1), groups.conf(5).
http://clustershell.readthedocs.org/
Stephane Thiell <sthiell@stanford.edu>
GNU Lesser General Public License version 2.1 or later (LGPLv2.1+)
2019-12-01 | 1.8.3 |