The sample-interval command configures the sampling interval for a performance statistics task.
The undo sample-interval command restores the default setting.
By default, the sampling interval varies with the performance statistics interval as follows:
Parameter | Description | Value |
---|---|---|
interval |
Specifies the interval at which the performance statistics collected in a performance statistics task is sampled. |
The value can be 1, 2, 3, 5, 10, 15, 30, or 60, in minutes:
|
Usage Scenario
After the statistics task is configured, the system collects statistics at a specified sampling interval. The shorter the sampling interval is, the more accurate the statistics are. However, more system resources are consumed.
Prerequisites
A performance statistics task has been configured.