HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

208
display cpu-usage history [ job job-id ] [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
job job-id: Specifies a process by its ID. Without this option, the command displays the historical CPU
usage statistics for the entire system, which is the sum of the historical CPU usage statistics for all
processes in the system. To view the IDs and names of the running processes, use the display process
command. For more information, see Network Management and Monitoring Configuration Guide.
slot slot-number: Specifies a card by its slot number. Without this option, the command displays the
historical CPU usage statistics for the active MPU. (On an MSR4000.)
cpu cpu-number: Displays the historical CPU usage statistics for the specified CPU. If this option is not
provided, the command displays the historical CPU usage statistics for all CPUs on the card in the
specified slot.
Usage guidelines
The system regularly collects CPU usage statistics and saves the statistics in the history record area. This
command displays the CPU usage statistics for the last 60 minutes in axes as follows:
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 pound sign at a specific time represents the CPU usage at that time.
Examples
# Display the historical CPU usage statistics for the entire system.
<Sysname> display cpu-usage history
100%|
95%|
90%|
85%|
80%|
75%|
70%|
65%|
60%|
55%|
50%|
45%|
40%|
35%|
30%|