Display CPU Usage(DSP CPUUSAGE)

Function

An OM command that queries the CPU usage.

Note

1. The specified board must be configured and functional.

2. If the BSC is configured with a GBAM, the usage of CPU 0 in slot 25 of subrack 12 is queried.

3. If the optional parameters Slot No. and CPU No. are not specified, the usage of all the CPUs in the specified subrack is queried.

Parameters

ID Name Description
SRN Subrack No.

Meaning: subrack number

Value range: 0-12

Explanation:

1. The subrack number uniquely identifies a subrack.

2. The subrack number 12 is valid only for GBAM.

Default value: None

SN Slot No.

Meaning: slot number

Value range: 0-27

Explanation:

1. The subrack number and slot number uniquely identify a board.

2. The slot number is an optional parameter. If not specified, the CPU usage of all the boards in the specified subrack is queried.

Default value: None

CPUN CPU No.

Meaning: CPU number

Value range: 0-3

Explanation:

1. The subrack number, slot number, and CPU number uniquely identify a CPU.

2. The CPU number is an optional parameter. If not specified, the usage of all the CPUs of the specified board is queried.

Default value: None

Example

1. Query the usage of CPU 0 in slot 6 of subrack 0:
DSP CPUUSAGE: SRN=0, SN=6, CPUN=0;
The result is as follows:
MML% DSP CPUUSAGE:SRN=0,SN=6,CPUN=0;
+++    HUAWEI        2007-07-03 15:28:04
O&M    #103
%%DSP CPUUSAGE:SRN=0,SN=6,CPUN=0;%%
RETCODE = 0  Operation succeeded

Display CPU Usage
-----------------
Subrack No.  Slot No.  CPU No.  CPU Usage[%]

0            6         0        16
(Number of results = 1)


---    END

2. Query the usage of all CPUs in subrack 0:
DSP CPUUSAGE: SRN=0;
The result is as follows:
MML% DSP CPUUSAGE:SRN=0;
+++    HUAWEI        2008-07-08 10:18:16
O&M    #2417
%%DSP CPUUSAGE:SRN=0;%%
RETCODE = 855703567  Board fault(The command is executed but some errors occur)

Display CPU Usage
-----------------
Subrack No.  Slot No.  CPU No.  CPU Usage[%]

0            2         0        22
0            5         0        3
0            6         0        14
0            7         0        14
0            8         0        2
0            8         1        1
0            8         2        1
0            8         3        0
0            9         0        1
0            9         1        0
0            9         2        1
0            9         3        1
0            12        0        4
0            13        0        4
(Number of results = 14)

Prompt information
------------------
Prompt information0:(855703627)Board uninstalled
Prompt information1:(855703567)Board fault[ Subrack No. = 0 Slot No. = 14 CPU No. = 0 ]
Prompt information2:(855703567)Board fault[ Subrack No. = 0 Slot No. = 15 CPU No. = 0 ]


---    END

Output Description

Domain Name Description
Subrack No.

Number of the subrack where the board is located.

Slot No.

Number of the slot where the board is located.

CPU No.

Number of the CPU where the board is located.

CPU Usage[%]

Usage of the specified CPU, expressed in %

Related reference
Display CPU Status(DSP CPUSTAT)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.