< Home

display patch-information

Function

The display patch-information command displays information about system patches, including running, activated, and deactivated patches.

Format

display patch-information [ history ]

Parameters

Parameter Description Value

history

Indicates the historical information.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

Patches are the software that is compatible with system software, and are used to fix urgent bugs in system software. You can install patches to upgrade the system without upgrading system files.

After a patch is installed, you can run the display patch-information command to check the patch name, patch version, and patch status.

The system can only read information about loaded patches. That is, the display patch-information command displays information only about patches that have been loaded.

If you want to replace a patch, you must uninstall the patch before you install a substitute patch. You can run this command to check whether the system has loaded a patch and the patch status.

Example

# Display the history record of the patch.

<sysname> display patch-information history
                                                                                
************************************************************************        
*                The patch command history, as follows:                *        
************************************************************************        
                                                                                
 time(Y.M.D/HH:MM:SS)   state         size     patch-package name 
 -----------------------------------------------------------------------
 2015.06.27/16:16:45  Running         7586      patch_v5r1_shell.pat                                                       

# Display information about the patch in the system.

<sysname> display patch-information  
Patch Package Name :xx.pat   
Patch Package Version:xx  
The state of the patch state file is: Active  
The current state is: Active
Table 1 Description of the display patch-information history command output

Item

Description

time

When the patch status changes

state

Patch status:

  • Idle

  • Deactive

  • Active

  • Running

size

Size of the patch, in bytes

patch-package name

Patch name

The state of the patch state file

Indicates the next running status of the patch

The current state

Indicates the current running status of the patch

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