sdpctl Reference Guide



sdpctl appliance stats

Show appliance stats


Synopsis

Show current stats, such as current system resource consumption, appliance version etc, for the appliances. Using the ‘–json’ flag will return a more detailed list of stats in json format.

NOTE: Although the ‘–include’ and ‘–exclude’ flags are provided as options here, they don’t have any actual effect on the command.

sdpctl appliance stats [flags]

Examples

  # default listing of stats
  > sdpctl appliance stats

  # print stats in JSON format
  > sdpctl appliance stats --json

Options

  -e, --exclude stringToString   Filter appliances using a comma separated list of key-value pairs. Regex syntax is used for matching strings. Example: '--exclude name=controller,site=<site-id> etc.'.
                                 Available keywords to filter on are: name, id, status, state and function (default [])
  -h, --help                     help for stats
  -i, --include stringToString   Include appliance stats. Adheres to the same syntax and key-value pairs as '--exclude' (default [])
      --json                     Display in JSON format

Options inherited from parent commands

      --api-version int      Peer API version override
      --ci-mode              Log to stderr instead of file and disable progress-bars
      --debug                Enable debug logging
      --descending           Change the direction of sort order when using the '--order-by' flag. Using this will reverse the sort order for all keywords specified in the '--order-by' flag.
      --events-path string   send logs to unix domain socket path
      --no-interactive       Suppress interactive prompt with auto accept
      --no-verify            Don't verify TLS on for the given command, overriding settings from config file
      --order-by strings     Order appliance lists by keywords, i.e. 'name', 'id' etc. Accepts a comma seperated list of keywords, where first mentioned has priority. Applies to the 'appliance list' and 'appliance stats' commands. (default [name])
  -p, --profile string       Profile configuration to use

SEE ALSO

  • sdpctl appliance - Manage the appliances and perform tasks such as backups, upgrades, metrics etc