The display patch-information command displays information about the patch in the current system.
| Parameter | Description | Value |
|---|---|---|
history |
Displays historical information about the patch in the current system. |
- |
After a patch is loaded or deleted, run this command to view information about the patch, including its version, name, and status.
# Display current information about the patch in the system.
<HUAWEI> display patch-information
Patch Package Name :flash:/patch_pack.pat
Patch Package Version:V200R013SPH
The state of the patch state file is: Running
The current state is: Running
************************************************************************
* Information about hot patch errors is as follows: *
************************************************************************
Slot CurrentVersion
------------------------------------------------------------
No hot patch error occurs on any board.
************************************************************************
* The hot patch information, as follows: *
************************************************************************
Slot Type State Count Time(YYYY-MM-DD HH:MM:SS)
------------------------------------------------------------------------
3 C Running 1 2018-12-03 18:34:25+00:00
4 C Running 1 2018-12-04 09:51:43+00:00
************************************************************************
* The Kernel patch information, as follows: *
************************************************************************
Slot Type State Count
------------------------------------------------------------
3 Kernel Running 1
4 Kernel Running 1
************************************************************************
* The firmware patch information, as follows: *
************************************************************************
Slot Type State Count
------------------------------------------------------------
4 Firmware Running 1
# Display historical information about the patch in the system.
<HUAWEI> display patch-information history
************************************************************************
* The patch command history, as follows: *
************************************************************************
time(Y.M.D/HH:MM:SS) state size patch-package name
-----------------------------------------------------------------------
2014.01.29/14:07:39 Startup 827318 patch_all_pack.pat
2014.10.13/11:33:12 Running 8404 patch_all_pack1.pat
2014.10.13/10:48:36 Idle 827318 patch_all_pack2.pat
Item |
Description |
|---|---|
Patch Package Name |
Name of the patch file. |
Patch Package Version |
Version of the patch. |
The state of the patch state file is |
Status of the patch file. |
The current state is |
Current status of the patch. |
Slot |
Slot ID. |
Type |
Patch type.
|
State |
Running status of the patch.
|
Count |
Number of patch units. For kernel patches, the number of kernel patches in Active and Running states is displayed. |
Time(YYYY-MM-DD HH:MM:SS) |
Time when the patch takes effect. |
size |
Size of the patch. |