list-hosts

Display information about the hosts registered with Toolbox.

Usage

Usage:
  memsql-toolbox-config list-hosts [flags]

Flags:
  -h, --help    help for list-hosts
  -q, --quiet   Only output hostnames

Global Flags:
  -c, --config FILE_PATH             the Toolbox configuration file path
  -j, --json                         Enable JSON output
      --runtime-dir DIRECTORY_PATH   where to put Toolbox runtime data
      --state-file FILE_PATH         the Toolbox state file path
  -v, --verbosity count              Increase logging verbosity
  -y, --yes                          Enable non-interactive mode and assume the user would like to move forward with the proposed actions by default

Remarks

This command is interactive unless you use either the --yes or --json flags to override interactive behavior.

Output

The following example uses the list-hosts command to display the current host machines registered with the MemSQL Tools.

memsql-toolbox-config list-hosts
+----------------+------------+-------------+---------------+
|      Host      | Local Host | SSH address | Identity File |
+----------------+------------+-------------+---------------+
| node-1         | Yes        |             |               |
+----------------+------------+-------------+---------------+
Was this article useful?