< Home

kpi log cycle

Function

The kpi log cycle command sets the frequency at which data is written into the KPI log file (cpu.log/interface.log).

Format

kpi log cycle time

Parameters

Parameter Description Value

time

Specifies the frequency at which data is written into the cpu.log/interface.log file.

The value is an integer ranging from 1 to 60, in minutes. The default value is 2 minutes.

Views

System view

Default Level

3: Management level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E does not support this command.

Before running the kpi log cycle command, you must run the kpi log enable command to enable the system to write data into the KPI log file (cpu.log/interface.log).

Example

# Set the frequency at which data is written into the cpu.log/interface.log file to 30 minutes.

<sysname> system-view
[sysname] kpi log cycle 30
The KPI log period is set successfully
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >