system-stats-history-average-show
In releases prior to NetVisor version 6.10, the system-stats-show command provided instantaneous values of CPU usage, which was not representative of the average CPU usage over a duration. NetVisor release 6.1.0 improves the infrastructure for collecting, and displaying system statistics to provide average usage information. NetVisor currently supports viewing of historical CPU, and memory usage over the last 24 hours with a granularity of up to 10s. To view the average system usage statistics over the last 10 to 60 seconds, use the command:
Syntax system-stats-history-average-show
over-last duration:#s |
Specify a duration for average usage statistics (in multiples of 10s from 10s up to 60s). Note: You cannot specify the duration in days, hours, or minutes. |
Defaults None
Access CLI
History
Version 6.1.0 |
Command introduced. |
Usage Use this command to view the average system usage statistics.
Examples To view the average system usage statistics over the last 40 seconds, use the command
CLI (network-admin@switch) > system-stats-history-average-show over-last 40s
time mem-used(%) cpu-used(%) over-last
-------- ----------- ----------- ---------
02:00:34 54 3 40s
Note: System statistics history must be enabled (system-stats-history-settings-modify enable) for you to be able to use the system-stats-history-average-show command successfully.