env

Display the runtime environment for a MemSQL tool.

Usage

memsql-toolbox-config env [flags]
memsql-deploy env [flags]
memsql-admin env [flags]
memsql-report env [flags]

Flags:
  -h, --help   help for env

Global Flags:
  -c, --config FILE_PATH       the Toolbox configuration file path
  -j, --json                   Enable JSON output
      --socket-dir FILE_PATH   where to put SSH ControlMaster sockets
      --state-file FILE_PATH   the Toolbox state file path
      --timeout duration       Maximum time for operation to complete (e.g., 30s, 10m, 1.5h)
  -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 env command to display the current configuration paths for the MemSQL tools.

memsql-toolbox-config env
+------------+-------------------------------------------------------------+
| configFile |                                                             |
| stateFile  | /home/vagrant/.local/share/memsql-toolbox/toolbox-state.hcl |
| cacheFile  | /home/vagrant/.local/share/memsql-toolbox/toolbox-cache.hcl |
| socketDir  | /run/user/1000/memsql-toolbox                               |
| sshBinary  | /usr/bin/ssh                                                |
+------------+-------------------------------------------------------------+
Was this article useful?