161
Parameters
task
task-id
: Displays the historical CPU usage statistics for the specified task. The
task-id
argument
represents the task number. If no task is specified, the command displays the historical CPU usage
statistics for the entire system. The CPU usage of the entire system is the sum of CPU usages of all tasks.
slot
slot-number
: Displays the historical CPU usage statistics for the specified card. The
slot-number
argument represents the IRF member ID of the switch. If no member switch is specified, the command
displays the historical CPU usage statistics for the active MPU. (In standalone mode)
chassis
chassis-number
slot
slot-number
: Displays the historical CPU usage statistics for the specified card
on an IRF member switch. The
chassis-number
argument represents the IRF member ID of the switch, and
the
slot-number
argument represents the number of the slot that holds the card. If no card is specified, the
command displays the historical CPU usage statistics for all cards in the IRF fabric. (In IRF mode)
cpu
cpu-number
: Displays the historical CPU usage statistics for the specified CPU. If no CPU is specified,
the command displays the historical CPU usage statistics for the main CPU.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display cpu-usage history
command to display historical CPU usage statistics in charts.
The system regularly collects CPU usage statistics and saves the statistics in the history record area. The
display cpu-usage history
command displays the CPU usage statistics for the last 60 minutes in axes,
where:
•
The vertical axis represents the CPU usage. If a statistic is not a multiple of the usage step, it is
rounded up or down to the closest multiple of the usage step, whichever is closer. For example, if the
CPU usage step is 5%, the statistic 53% is rounded up to 55%, and the statistic 52% is rounded
down to 50%.
•
The horizontal axis represents the time.
•
Consecutive pound signs (#) indicate the CPU usage at a specific time. The value on the vertical
axis for the topmost # sign at a specific time represents the CPU usage at that time.
Examples
# Display the system CPU usage statistics.
<Sysname> display cpu-usage history
100%|
95%|
90%|
85%|
80%|
75%|
70%|
65%|
60%|
55%|
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...