< Home

display cpu-usage

Function

The display cpu-usage command displays the statistics and configuration of the CPU usage.

Format

display cpu-usage [ configuration ] [ slot slot-id ]

Parameters

Parameter Description Value

configuration

Displays the configuration information of CPU usage.

If you specify configuration in the command, the command output shows the status of CPU usage monitor, period for monitoring the CPU usage, threshold at which a CPU usage alarm is generated, and threshold at which a CPU usage alarm is cleared.
  • When CPU usage reaches the upper threshold, an alarm is generated.

  • When CPU usage falls below the lower threshold, the alarm is cleared.

-

slot slot-id

Specifies a slot related to the CPU usage.

The value 11 indicates the slot of the primary CPU. The value 12 indicate the slot of the secondary CPU. The value 13 is also the slot of the secondary CPU, which is used only for processing and generating logs.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The system collects CPU usage statistics at a specified interval (usually 60s) and saves them in the history record table. You can run the display cpu-usage command to check information about CPU usage, which can help you to know whether CPU works normally.

Precautions

For the USG6000E, the CPU usage of the device is displayed at first. Then the CPU usage of the management plane and data plane is displayed. At last, the CPU usage of each process and tasks on the management plane is displayed.

The continuous overhigh CPU usage is abnormal (you can configure the alarm threshold and the default threshold is 95%) before the features are deployed in large scale, you should check the device and locate the fault.

Example

# Display the statistics of the CPU usage on the current main control board of the USG6000E, including the CPU usage of each task.
<sysname> display cpu-usage
CPU Usage Stat. Cycle: 10 (Second) 
CPU Usage : 52.8% Max: 57.2% 
Management-plane CPU Usage: 11.9% Data-plane CPU Usage : 66.5% 
 
CPU utilization for ten seconds: 52.8% : one minute: 53.7% : five minutes: 53.8% 

PID ProcessName CPU Runtime State 
718 fpath.out 47.5% 68063937 S 
311 vrp 2.8% 2598048 S 
720 gm.out 2.1% 3083493 S 
667 vrpio_s 0.2% 414173 S 
737 nge.out 0.0% 105723 S 
730 am.out 0.0% 47837 S 
732 auth.out 0.0% 43416 S 
729 ike.out 0.0% 24529 S 
721 nlog.out 0.0% 24143 S 
723 rbl.out 0.0% 23779 S 
734 xmpp.out 0.0% 21672 S 
722 svn.out 0.0% 18223 S 
736 disk_smart.out 0.0% 2193 S 
726 avmail.out 0.0% 1238 S 
674 procmgmt.out 0.0% 891 S 
719 proxy.out 0.0% 527 S 
731 umdb.out 0.0% 35 S 
728 umportal.out 0.0% 32 S 
724 aapt.out 0.0% 22 S 
727 tcpproxy.out 0.0% 20 S 
733 ssa.out 0.0% 12 S 
Table 1 Description of the display cpu-usage command output

Item

Description

CPU Usage Stat. Cycle

Interval at which statistics of CPU usage are collected, in seconds

CPU Usage

Current CPU usage

Max

Historical maximum CPU usage

Management-plane CPU Usage

Current CPU usage on the management plane

Data-plane CPU Usage

Current CPU usage on the management plane

CPU utilization for ten seconds

After startup, the system calculates and records the average CPU usage every ten seconds. This field indicates the average CPU usage in the most recent ten seconds.

one minute

After startup, the system calculates and records the average CPU usage every one minute. This field indicates the average CPU usage in the most recent one minute.

five minutes

After startup, the system calculates and records the average CPU usage every five minutes. This field indicates the average CPU usage in the most recent five minutes.

PID

Process ID

ProcessName

Process name

CPU

Current CPU usage

Runtime

Total running time

State

Current status

  • S: sleeping
  • R: running

fpath.out

Traffic forwarding

vrp

User command processing and management

vrpio_s

Connected to VRP and the data plane for information forwarding

nge.out

Data audit and security engine

am.out

User management

ike.out

Security function, such as data encryption and decryption

nlog.out

Log-related function

auth.out

User authentication

mail_send.out

Mail sending

svn.out

SVN

procmgmt.out

Internal function, without services

disk_smart.out

Disk management

# Display the CPU usage configuration of the MPU.

<sysname> display cpu-usage configuration
The CPU usage monitor is turned on.                                             
The current monitor cycle is 60 seconds.                                        
The current monitor warning threshold is 80%.                                   
The current monitor restore threshold is 75%.   
Table 2 Description of the display cpu-usage configuration command output

Item

Description

The CPU usage monitor

Status of CPU usage monitor

The current monitor cycle

Period for monitoring the CPU usage

The current monitor warning threshold

Threshold at which a CPU usage alarm will be generated

The current monitor restore threshold

Threshold at which a CPU usage alarm will be cleared

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