display health

Function

The display health command displays system resource information, including CPU usage and memory usage.

Format

display health [ verbose ]

Parameters

Parameter Description Value
verbose

Displays detailed information about system resource usage.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
diagnose read

Usage Guidelines

Usage Scenario

In device routine maintenance or if a device does not run properly, run the display health command to view system resource information of the device, including CPU usage and memory usage for monitoring the device.

If the CPU and memory usage of a device exceeds the alarm thresholds, perform the following operations to check the detailed CPU and memory usage:

  • Run the display cpu-usage command to check the detailed CPU usage.
  • Run the display memory-usage command to check the detailed memory usage.

Precautions

The display health command is used to check system resource. You can run this command at any time to check the system health status.

The display health commands are supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about system resources on a device.
<HUAWEI> display health
----------------------------------------------------------------                
Slot                       CPU Usage  Memory Usage(Used/Total)                  
----------------------------------------------------------------                
1      IPU(Master)             3%          12%   **06MB/**724MB                           
…
# Display detailed information about system resource usage.
<HUAWEI> display health verbose
------------------------------------------------------------------------------------------------------------
Slot                       CPU Usage    Memory Usage(Used/Total)     Physical Memory Usage(Free/Total/Cache)
------------------------------------------------------------------------------------------------------------
1       IPU(Master)             2%          20%   **67MB/**897MB            86%    **25MB/**03MB/**44MB
        cpu0                    4%                  cpu1                    2%                  
        cpu2                    3%                  cpu3                    1%                  
        cpu4                    1%                  cpu5                    2%                  
        cpu6                    2%                  cpu7                    1%   
------------------------------------------------------------------------------------------------------------
Table 1 Description of the display health command output
Item Description
Slot

Slot ID of an existing device.

CPU Usage

CPU usage.

Memory Usage(Used/Total)

Memory usage ( Used/Total).

Physical Memory Usage(Free/Total/Cache)

Physical memory usage (Free/Total/Cache).

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