node-command
Command | Description |
---|---|
node-command
|
A shell-based tool for pulling more detailed information from console servers. |
Syntax |
---|
node-command [options] command
|
Option | Alternate Syntax | Description |
---|---|---|
-h
|
--help
|
Display usage information and exit. |
-l
|
--list-nodes
|
List all nodes matching query, or all nodes if none selected. |
-i <ID>
|
--node-id=ID
|
Select node by config ID. |
-n <name>
|
--node-name=name
|
Select node by name. |
-a <address>
|
--node-address=address
|
Select node by VPN address. |
-g <name>
|
--smartgroup=name
|
Select nodes by the smart group they resolve to. |
-A
|
--all
|
Select all available nodes. |
-C
|
--connected>
|
Select all connected nodes. |
-P
|
--pending
|
Select all pending nodes. |
-D
|
--disconnected
|
Select all disconnected nodes. |
-d
|
--disable-fslog
|
Disable logging to file system. |
-p
|
--par=num
|
Number of parallel processes to run at a time. |
-q
|
--quiet
|
Suppress command output. |
-b
|
--batch
|
Suppress node-command output. |
-c
|
--copy-file
|
Copy a file to the node(s). |
-s
|
--source-file
|
The file to copy to the node(s). Required if --copy-file is specified. |
-e
|
--exact
|
Run the command exactly as entered. Avoids quoting problems caused by shell interpretation. |
--
|
Use this to stop argument parsing. This allows arguments that node-command understands to be passed to commands on the node. eg. node-command [options] -- command [args] |