Manage statistics using the CLI
This page describes how to manage the statistics using the GUI.
Using the GUI, you can:
List statistics types
Command: weka stats list-types
Use the following command line to obtain statistics definition information:
weka stats list-types [<name-or-category>] [--show-internal]
Parameters
View statistics in real-time
Command: weka stats realtime
Use the following command line to obtain the current performance-related statistics of the hosts in a one-second interval:
weka stats realtime [<node-ids>] [--raw-units] [--UTC]
Parameters
View statistics over time
Command: weka stats
The collected statistics can help analyze system performance and determine the source of issues that may occur during Weka system runs. Statistics are divided according to categories. When selecting a category, a list of the possible statistics is displayed, from which you can select the specific statistics.
Note: Weka averages all statistics over one-second intervals. Consequently, the total value or other aggregates relate to a specific minute.
Use the following command line to manage filters and read statistics:
weka stats [--start-time <start-time>] [--end-time <end-time>] [--interval interval] [--resolution-secs resolution-secs] [--category category][--stat stat] [--node-ids node-ids] [--param param] [--accumulated] [--per-node] [--no-zeros] [--show-internal] [--raw-units] [--UTC]
Parameters
Set statistics retention
Command: weka stats retention set
Use the following command line to set the statistics retention period.
weka stats retention set <--days days> [--dry-run]
Parameters
Use weka stats retention status
to view the current retention and weka stats retention restore-default
to restore the default retention settings.
Last updated