nc hosts
Show hosts in the farm. The hosts are also called taskers or vovtaskers.
vnc: Usage Message
NC HOST
Show hosts in the farm.
The hosts are also called 'slaves' or 'vovslaves'.
USAGE:
% nc hosts [OPTIONS]
OPTIONS:
-h -- This help
-c -- Show consumable resources (e.g. RAM and CPUS)
-f -- Show list of slave fields
-r -- Show resources (legacy: pre-2013.03 format)
-m -- Show machine parameters (RAM, CPUfreq,...)
-a -- Show all known hosts (used with -m)
-hw <HW> -- Show only slaves that match HW constraints.
-rule <SELRULE> -- Show only slaves that match the given selection
rule. Use "vovselect fieldname from slaves" for
the complete list of fields that can be used in
the rule. Example rules:
"status==READY"
"status!=OVRLD slots>8"
Can accept multiple constraints.
-O <fmt> -- Specify output format. The format string can contain
elements like @FIELDNAME@ or @FIELDNAME:WIDTH@ where
a negative width means left-align and a positive width
means right-align.
-RAM -- Same as -O "@NAME@ RAM/@RAM@ RAMFREE#@RAMFREE@
RAMTOTAL#@RAMTOTAL@"
-SLOTS -- Same as -O "@NAME@ SLOTS/@SLOTS@ SLOTSTOTAL#@SLOTSTOTAL@
CORES/@CORES@ CORESTOTAL#@CORESTOTAL@"
-LOAD -- Same as -O ...selection of fields about load...
-INFO -- Same as -O ...fields about host, arch, model, ...
-ALL -- Show all info about each slave (multiline output)
-slowdown -- used only for testing
EXAMPLES:
% nc hosts
% nc hosts -m
% nc hosts -a -m
% nc hosts -hw 'RAMTOTAL>18000'
% nc hosts -f
% nc hosts -O "RAMFREE#@RAMFREE@ SWAP/@SWAP@ M=@MODEL@"
% nc hosts -O "@I:4@ @NAME:-14@ @STATUS:-8@ @HOST@ "
% nc hosts -RAM
% nc hosts -hw 'RAMTOTAL>18000' -RAM
% nc hosts -ALL | grep -A8 ^lnx001
% nc hosts -rule "cores>4 ramtotal<20000" -O "@name@ @corestotal@ @ramtotal@"
LEGACY COMMANDS:
% nc hosts -r