display cpu-usage [ slave | slot slot-id ] [ vcpu vcpu-index ]
The slave parameter is not supported if the switch does not support the stacking function or does not have the stacking function enabled.
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the vcpu vcpu-index parameter.
Parameter | Description | Value |
---|---|---|
slave |
Displays the CPU usage of slave devices in a stack. This parameter is valid only in a stack system. |
- |
slot slot-id |
Specifies a slot ID. |
The value depends on the device configuration. |
vcpu vcpu-index |
Displays the usage of a specified virtual CPU. |
Specify the vcpu-index parameter based on the hardware configuration. |
CPU usage is an important indicator to evaluate device performance. A high CPU usage will cause service faults, for example, BGP route flapping, frequent VRRP active/standby switchover, and even failed device login. You can use the display cpu-usage command to view CPU usage to check whether devices are working properly.
When the CPU usage is high, rectify the fault according to "Troubleshooting: High CPU" in Huawei S Series Campus Switches Troubleshooting Guide.
# Display the CPU usage on the device.
<HUAWEI> display cpu-usage CPU Usage Stat. Cycle: 60 (Second) CPU Usage : 20% Max: 99% CPU Usage Stat. Time : 2019-10-23 10:04:45 CPU utilization for five seconds: 5%: one minute: 5%: five minutes: 5% Max CPU Usage Stat. Time : 2019-10-21 16:14:00. TaskName CPU Runtime(CPU Tick High/Tick Low) Task Explanation VIDL 80% 0/e3a150c0 DOPRA IDLE OS 10% 0/ bfb0440 Operation System 1AGAGT 6% 0/ 0 1AGAGT AAA 2% 0/ 1d4a AAA Authen Account Authorize ACL 1% 0/ 13362 ACL Access Control List ADPT 1% 0/ 0 ADPT Adapter AGNT 0% 0/ 0 AGNTSNMP agent task AGT6 0% 0/ 0 AGT6SNMP AGT6 task ALM 0% 0/ 0 ALM Alarm Management ALS 0% 0/ 527a3e ALS Loss of Signal AM 0% 0/ 232cf AM Address Management APP 0% 0/ 0 APP ARP 0% 0/ 36582 ARP ASFI 0% 0/ 0 ASFI ASFM 0% 0/ 0 ASFM BATT 0% 0/ 0 BATT Main Task BFD 0% 0/ 100f36 BFD Bidirection Forwarding Detect BFDA 0% 0/ 0 BFDA BFD Adapter BFDS 0% 0/ 5825 BFDS BOX 0% 0/ 1d0097 BOX Output BPDU 0% 0/ 1806 BPDU Adapter BTRC 0% 0/ 60e BTRC CDM 0% 0/ 9b95 CDM CFM 0% 0/ 6f68 CFM Configuration file management CLKI 0% 0/ 0 CLKI DEFD 0% 0/ 22ebd DEFD CPU Defend DELM 0% 0/ 355c DELMAC FOR STP DEV 0% 0/ 0 DEV Device Management DHCP 0% 0/ 12188 DHCP Dynamic Host Config Protocol DLDP 0% 0/ dc0d DLDP Protocol EAP 0% 0/ 38a9 EAP Extensible Authen Protocol EFMT 0% 0/ 11c70 EFMTEST 802.3AH Test EOAM 0% 0/ ea8f EOAM1AG ESAP 0% 0/ 0 ESAP eSap Adapter ETHA 0% 0/ 0 ETHA EZOP 0% 0/ 506f4 EZOP EasyOperation application EZPP 0% 0/ 1e41f8 EZPP EasyOperation packet FCAT 0% 0/ 6479 FCAT Catch Packets for debugging FECD 0% 0/ 11d8e FECD Mod Manage Task FIB 0% 0/ 523b FIB Forward Information Base FIB6 0% 0/ 0 FIB6IPv6 FIB FLOW 0% 0/ ce76 FLOW SFLOW FMAT 0% 0/ 7f23 FMATFault Manage task FTS 0% 0/ 125f35 FTS GEM 0% 0/ 0 GEM task GEMR 0% 0/ 0 GEMRun task GRSA 0% 0/ 0 GRSA GVRP 0% 0/ 0 GVRP Protocol HACK 0% 0/ 0 HACKtask for HA ACK HOTT 0% 0/ 0 HOTT HS2M 0% 0/ 0 HS2MHigh available task HTTP 0% 0/ 5d420 HTTP IFLP 0% 0/ 8611 IFLP IFNT 0% 0/ 0 IFNTIfnet task IFPD 0% 0/ 2177f21 IFPD Ifnet Product Adapter INFO 0% 0/ 70409 INFOInformation center IP 0% 0/ cb13 IP IPCK 0% 0/ 0 IPCKIPC task for ack message IPCQ 0% 0/ 3c6ffd IPCQIPC task for single queue IPCR 0% 0/ 0 IPCR IPC Receiver JOB 0% 0/ 0 JOB Schedule L2 0% 0/ 2a6b5 L2 L2IF 0% 0/ b7fbc L2IF L2_E 0% 0/ 10088 L2_EOAM_Y1731 L2_P 0% 0/ 58a50 L2_PR L2_R 0% 0/ 169c0c L2_RING L2_T 0% 0/ 1724 L2_TRUNK L3I4 0% 0/ 0 L3I4 LPU Manage IPv4 unicast FDB L3IO 0% 0/ 0 L3IO LPU Process urpf, vrrp etc. L3M4 0% 0/ 0 L3M4 MPU Manage IPv4 unicast FDB L3MB 0% 0/ 4319 L3MB MPU Process urpf, vrrp etc. LAGAGT 0% 0/ 107dd LAGAGT LBDT 0% 0/ 1bf810 LBDT Loopback Detect Mpu LINK 0% 0/ 0 LINK LLDP 0% 0/ 70921 LLDP Protocol LNP 0% 0/ 0 LNP task MAC 0% 0/ 564f MAC Media Access Control MACL 0% 0/ 21954 MACL Access Control List MAD 0% 0/ dae7 MAD Task MADP 0% 0/ 0 MADP MAD proxy Task MCSW 0% 0/ 12624 MCSW Mulitcast Switch Adapter MERX 0% 0/ 8a774 MERX Meth Receive METH 0% 0/ f0699 METH Metropolitan Ethernet MFF 0% 0/ b308 MFF MAC Forced Forwarding MFIB 0% 0/ beb MFIBMulticast forward info MIRR 0% 0/ 0 MIRR Capture Packet MSYN 0% 0/ 7245a MSYN Mac Synchronization Mirr 0% 0/ 4107 Mirror NDIO 0% 0/ 0 NDIO LPU Manage IPv6 unicast FDB NDMB 0% 0/ 0 NDMB MPU Manage IPv6 unicast FDB NFPT 0% 0/ d2dec NFPTNFP timer task NTPT 0% 0/ 0 NTPT task OAM1 0% 0/ 0 OAM1 EOAM Adapter PAT 0% 0/ 0 PAT PNGI 0% 0/ 0 PNGI PNGM 0% 0/ 0 PNGM MPU Process icmp reply fast POE+ 0% 0/ 0 POE+ PPP Over Ethernet Plus PPI 0% 0/ 58e46 PPI Product Process Interface PTAL 0% 0/ 0 PTAL Portal RDS 0% 0/ 0 RDS Radius RMON 0% 0/ 11240 RMONRemote monitoring ROUT 0% 0/ 6a6343 ROUTRoute task RPCQ 0% 0/ 22254 RPCQRemote procedure call RTMR 0% 0/ ed870 RTMR SAM 0% 0/ 2e2d SAM Service Agent Module SAPP 0% 0/ 758e SAPP SECE 0% 0/ 2e6e82 SECE Security SLAG 0% 0/ 0 SLAG SMAG 0% 0/ 0 SMAG Smart Link Agent SMLK 0% 0/ 71827 SMLK Smart Link Protocol SNPG 0% 0/ d97b7 SNPG Multicast Snooping SOCK 0% 0/ 4bdda SOCKPacket schedule and process SPM 0% 0/ 6a1ce SPM Smart Power Management SRM 0% 0/ 6bb9b8 SRM System Resource Management SRMI 0% 0/ 0 SRMI External Interrupt SRMT 0% 0/ fe2a46 SRMT System Resource Manage Timer STFW 0% 0/ 0 STFW Super task forward STND 0% 0/ 0 STNDStandby task STP 0% 0/ 79e590 STP STRA 0% 0/ 1c767 STRA Source Trail TACH 0% 0/ 9817e TACHWTACACS TARP 0% 0/ 0 TARPING TICK 0% 0/ 7dbef6 TM 0% 0/ 0 TM Transmission Management TNQA 0% 0/ 83134 TNQAC TRAP 0% 0/ 14d7 TRAPSNMP trap task TTNQ 0% 0/ 0 TTNQAS TUNL 0% 0/ 5c17 TUNL UCM 0% 0/ 3e46 UCM User Control Management UTSK 0% 0/ 0 UTSK VCMP 0% 0/ 0 VCMP task VFS 0% 0/ 0 VFS Virtual file system VFSD 0% 0/ 0 VFSDVFS flash task for delete file block VMON 0% 0/ 78d5 VMONSystem monitor VMSH 0% 0/ 0 VMSH VP 0% 0/ 5966 VP Virtual path task VPR 0% 0/ 0 VPR VP Receiver VRPT 0% 0/ 39fd VRPT VRRP 0% 0/ 152ced VRRP VT 0% 0/ 0 VT Virtual Transfer VT0 0% 0/ 4909c5 VT0 Line user's task VT1 0% 0/ 0 VT1 Line user's task VTYD 0% 0/ b3282 VTYDVirtual terminal WEB 0% 0/ 1295 WEB Web XMON 0% 0/ 0 XMONVxworks system monitor XQOS 0% 0/ 12999 XQOS Quality of service _EXC 0% 0/ 0 Exception Agent Task _TIL 0% 0/ 0 Infinite loop event task bcmCNTR.0 0% 0/ 61077b tS10 bcmCNTR.1 0% 0/ 605691 tS11 bcmDPC 0% 0/ 25d89 tS09 bcmL2X.0 0% 0/ b069d6 tS0c bcmL2X.1 0% 0/ b2c5f2 tS0f bcmRX 0% 0/ 1df879 bcmRX bcmTX 0% 0/ 16f2 tS0a frag_add 0% 0/ 45ecce tS0d frag_del 0% 0/ 0 tS0e linkscan 0% 0/ ecce16 tS12 root 0% 0/ 0 tS03 soft_learn 0% 0/ 7812a tS0b tExcTask 0% 0/ 0 tS00 tLogTask 0% 0/ 0 tS01 tShell 0% 0/ 0 tS02
Item |
Description |
---|---|
CPU Usage Stat. Cycle |
Interval for collecting CPU usage statistics. The interval is 60 seconds and cannot be configured. |
CPU Usage |
Average CPU usage in the last 10 seconds. |
Max |
Highest CPU usage in history. |
CPU Usage Stat. Time |
Time when the latest CPU usage statistics are collected. |
CPU utilization for five seconds |
CPU usage in five seconds. |
one minute |
CPU usage in one minute. |
five minutes |
CPU usage in five minutes. |
Max CPU Usage Stat. Time |
Time when the highest CPU usage statistics are collected. |
TaskName |
Task that is being executed. For details about all the tasks and functions of the device, see "Troubleshooting: High CPU Usage - How to Locate the High CPU Usage Problem - Determining Fault Causes According to CPU Usages of Tasks (Fixed Switches)" and "Troubleshooting: High CPU Usage - Appendix - CPU-related Tasks and Functions for Fixed Switches" in Huawei S Series Campus Switches Troubleshooting Guide. |
CPU |
Real-time CPU usage of each task. |
Runtime(CPU Tick High/Tick Low) |
System running time calculated based on CPU tick. |
Task Explanation |
Explanation to the task. |