No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
set cpu-usage threshold

set cpu-usage threshold

Function

The set cpu-usage threshold command sets the CPU usage alarm threshold and CPU usage alarm recovery threshold.

The undo set cpu-usage threshold command restores the default CPU usage alarm threshold and CPU usage alarm recovery threshold.

By default, the CPU usage alarm threshold is 95% and the CPU usage alarm recovery threshold is 75%.

Format

set cpu-usage threshold threshold-value [ restore restore-threshold-value ]

undo set cpu-usage threshold

Parameters

Parameter Description Value
threshold threshold-value

Specifies the CPU usage alarm threshold.

The value is an integer that ranges from 2 to 100. The default value is 95.

restore restore-threshold-value

Specifies the CPU usage alarm recovery threshold.

If this parameter is not specified or the parameter value is 0, the CPU usage alarm recovery threshold is calculated as follows:
  • When the CPU usage alarm threshold is lower than 60%, the default CPU usage alarm recovery threshold is 1% lower than the CPU usage alarm threshold.
  • When the CPU usage alarm threshold is higher than or equal to 60%, the default CPU usage alarm recovery threshold is 5% lower than the CPU usage alarm threshold.

The value is an integer that ranges from 0 to threshold-value-1. The default value is 75.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can use the set cpu-usage threshold command to set the CPU usage alarm threshold and CPU usage alarm recovery threshold. When CPU usage exceeds the alarm threshold, the system logs the event and generates an alarm. By viewing log information, you can learn about CPU usage. When CPU usage falls within the recovery threshold, the system generates a clear alarm.

Precautions

Default CPU usage alarm threshold and CPU usage alarm recovery threshold are recommended. If the CPU usage alarm threshold and CPU usage alarm recovery threshold are set too small, the system frequently generates alarms. If the CPU usage alarm threshold and CPU usage alarm recovery threshold are set too large, you cannot learn about CPU usage in a timely manner.

Example

# Set the CPU usage alarm threshold to 85%.

<Huawei> system-view
[Huawei] set cpu-usage threshold 85
# Set the CPU usage alarm threshold and CPU usage alarm recovery threshold to 85% and 80% respectively.
<Huawei> system-view
[Huawei] set cpu-usage threshold 85 restore 80
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 209203

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next