EnglishFrenchSpanish

Ad


OnWorks favicon

clubak - Online in the Cloud

Run clubak in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command clubak that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


clubak - format output from clush/pdsh-like output and more

SYNOPSIS


clubak [ OPTIONS ]

DESCRIPTION


clubak formats text from standard input containing lines of the form "node:output". It is
fully backward compatible with dshbak(1) but provides additonal 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).

INVOCATION


clubak should be started with connected standard input.

OPTIONS


--version
show clubak version number and exit

-b, -c gather nodes with same output (-c is provided for dshbak(1) compatibility)

-d, --debug
output more messages for debugging purpose

-L disable header block and order output by nodes

-r, --regroup
fold nodeset using node groups

-s GROUPSOURCE, --groupsource=GROUPSOURCE
optional groups.conf(5) group source to use

-G, --groupbase
do not display group source prefix (always @groupname)

-S SEPARATOR, --separator=SEPARATOR
node / line content separator string (default: :)

-F, --fast
faster but memory hungry mode (preload all messages per node)

-T, --tree
message tree trace mode; switch to enable ClusterShell.MsgTree trace mode, all
keys/nodes being kept for each message element of the tree, thus allowing special
output gathering

--color=WHENCOLOR
whether to use ANSI colors to surround node or nodeset prefix/header with escape
sequences to display them in color on the terminal. WHENCOLOR is never, always or
auto (which use color if standard output refers to a terminal). Color is set to
[34m (blue foreground text) and cannot be modified.

--diff show diff between gathered outputs

EXIT STATUS


An exit status of zero indicates success of the clubak command.

EXAMPLES


1. clubak can be used to gather some recorded clush(1) results:

Record clush(1) results in a file:
# clush -w node[1-7] uname -r >/tmp/clush_output
# clush -w node[32-159] uname -r >>/tmp/clush_output

Display file gathered results (in line-mode):
# clubak -bL </tmp/clush_output

2. Another example, iterate over node* text files in current directory and gather
characters count for all of them:
# find -name "node*" -exec wc -c {} ; | awk '{ gsub("./","",$2); print $2": "$1 }' | clubak -bL
node[1,3]: 7
node2: 9

Use clubak online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Zabbix
    Zabbix
    Zabbix is an enterprise-class open
    source distributed monitoring solution
    designed to monitor and track
    performance and availability of network
    servers, device...
    Download Zabbix
  • 2
    KDiff3
    KDiff3
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    https://download.kde.o...
    Download KDiff3
  • 3
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 4
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 5
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 6
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • More »

Linux commands

Ad