The record-interval command sets the number of performance statistics cycles after which the data is collected.
The undo record-interval command restores the default number of performance statistics cycles after which the data is collected.
By default, the interval at which the system generates performance statistics files is determined by the interval at which performance statistics are collected:
Usage Scenario
The system periodically records the performance statistics into performance statistics files. To set the number of performance statistics cycles after which the data is collected, run the record-interval command. Then the system generates performance statistics files every cycle x interval minutes and automatically saves the performance statistics in the file. The system generates a maximum of four statistics files for each performance statistics task and saves performance statistics files to the path cfcard:/pmdata by default.
The default interval at which the system generates performance statistics files is determined by the interval at which the performance statistics are collected:
Prerequisites
The performance statistics function has been enabled using the statistics enable command.
<HUAWEI> system-view [~HUAWEI] pm [~HUAWEI-pm] statistics enable [*HUAWEI-pm] statistics-task huawei [*HUAWEI-pm-statistics-huawei] statistics-cycle 5 Warning: All data of the statistics task will be deleted. Continue? [Y/N]:y [*HUAWEI-pm-statistics-huawei] record-interval 3 Warning: This operation will cause some data to be lost. Continue? [Y/N]:y