Parameter | Description | Value |
---|---|---|
history |
Historical statistics. |
- |
15-minutes |
Displays statistics about the CPU usage within the last 15 minutes. |
- |
60-minutes |
Displays statistics about the CPU usage within the last 1 hour. |
- |
72-hours |
Displays statistics about the CPU usage within the last 72 hours. |
- |
slot slot-id |
Specifies the slot ID of a board. |
The value is a string of 1 to 32 case-sensitive characters, spaces not supported. |
Usage Scenario
You can view the CPU usage to locate faults if any of the following cases occurs:
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display soc attack-detect cpu-usage slot 1 history 72-hours The Cpu Usage In 72 hours ( Per Hour ) ^ CPU(%) 100 | 90 | 80 | * * * 70 | 60 | * * * 50 | 40 | 30 | 20 | 10 | ------------------------------------------------------------->time(h) 1 12 24 36 48 60 72 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------
<HUAWEI> display soc attack-detect cpu-usage slot 1 history 15-minutes ------------------------------------------------------------------------------ The Cpu Usage In 15 Minutes ( Per Minute ) Time 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CPU(%) 19 19 19 19 19 19 19 19 19 19 18 19 19 19 19 ------------------------------------------------------------------------------
Item | Description |
---|---|
Time | Time sequence number. |
CPU | Average CPU usage. |
time | Time sequence number. |