To specify the interval at which statistics are collected from the system, use the set collection-interval command.
set collection-interval { 1minute | 2minutes | 30seconds | 5minutes }
| 1minute |
Statistics are collected at an interval of one minute. |
| 2minutes |
Statistics are collected at an interval of two minutes. |
| 30seconds |
Statistics are collected at an interval of thirty seconds. |
| 5minutes |
Statistics are collected at an interval of five minutes. |
Statistics are collected at an interval of one minute.
Statistics collection policy (/monitoring/stats-collection-policy)
| Release | Modification |
|---|---|
| 1.0(1) |
This command was introduced. |
Use this command to specify the interval at which statistics are collected from the system. You can specify the collection interval separately for chassis, port, host, adapter, and server statistics.
This example shows how to set the port statistics collection interval to five minutes:
switch-A# scope monitoring switch-A /monitoring # scope stats-collection-policy port switch-A /monitoring/stats-collection-policy # set collection-interval 5minutes switch-A /monitoring/stats-collection-policy* # commit-buffer switch-A /monitoring/stats-collection-policy #
|
Command |
Description |
|
set reporting-interval |
|
|
show stats-collection-policy |
|