Configuring the Threshold of CPU Usage

Monitor CPU usage by configuring the threshold of CPU usage.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run monitor cpu-usage [ interval interval-value ] [ slot slot-id | slave ]

    The CPU usage is dynamically monitored.

  3. Run set cpu-usage threshold threshold-value [ restore restore-threshold-value ] [ interval interval-value ] [ slot slot-id ].

    The overload threshold and alarm recovery threshold of CPU usage is set.

    By default, the overload threshold value of CPU usage is 95, and the alarm recovery threshold of CPU usage is 75.

  4. Run set configuration operation cpu-limit { percent-value access-type snmp | ncf-percent-value access-type netconf }

    The rate decreasing threshold is set. When the CPU usage reaches the configured threshold, the NMS-based data collection operation releases some CPU resources to other services.

    This configuration process is supported only on the admin VS.

  5. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >