Module nodeset
source code
Usage: nodeset [COMMAND] [OPTIONS] [ns1 [-ixX] ns2|...]
Commands:
--count, -c <nodeset> [nodeset ...]
Return the number of nodes in nodesets.
--expand, -e <nodeset> [nodeset ...]
Expand nodesets to separate nodes.
--fold, -f <nodeset> [nodeset ...]
Compact/fold nodesets (or separate nodes) into one nodeset.
--list, -l
List node groups (see --groupsource).
--regroup, -r <nodeset> [nodeset ...]
Fold nodes using node groups (see --groupsource).
--groupsources
List all configured group sources (see groups.conf(5)).
Options:
--all, -a
Call external node groups support to display all nodes.
--autostep=<number>
Specify auto step threshold number when folding nodesets.
If not specified, auto step is disabled.
Example: autostep=4, "node2 node4 node6" folds in node[2,4,6]
autostep=3, "node2 node4 node6" folds in node[2-6/2]
--help, -h
This help page.
--quiet, -q
Quiet mode, hide any parse error messages (on stderr).
--rangeset, -R
Switch to RangeSet instead of NodeSet. Useful when working on
numerical cluster ranges, eg. 1,5,18-31.
--groupsource, -s <GroupSource>
Specify group source (ie. section to use in groups.conf(5)).
--groupbase, -G
Do not display group source prefix (always "@groupname").
--separator=<string>, -S <string>
Specify separator string for expanding nodesets (default: ' ').
--version, -v
Show ClusterShell version and exit.
Operations (default is union):
The default operation is the union of node or nodeset.
--exclude=<nodeset>, -x <nodeset>
Exclude provided node or nodeset.
--intersection, -i
Calculate nodesets intersection.
--xor, -X
Calculate symmetric difference (XOR) between two nodesets.
|
process_stdin(xset,
autostep)
Process standard input and populate xset. |
source code
|
|
|
compute_nodeset(xset,
args,
autostep)
Apply operations and operands from args on xset, an initial RangeSet
or NodeSet. |
source code
|
|
|
|
|
|