Display information about the hosts registered with Toolbox.


  memsql-toolbox-config list-hosts [flags]

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

Global Flags:
      --cache-file FILE_PATH         File path for the Toolbox node cache
  -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


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


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?