
230
<Sysname> display copyright
...
display cpu-usage
Use
display cpu-usage
to display CPU usage statistics.
Syntax
display cpu-usage
[
slot slot-number
[
cpu
cpu-number
] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot
slot-number
: Specifies an IRF member device by its member ID or a PEX by its virtual slot
number. If you do not specify this option on an IRF fabric, the command displays the CPU usage
statistics for all member devices. If you do not specify this option on an IRF 3 system, the command
displays the CPU usage statistics for all parent devices and PEXs.
cpu
cpu-number
: Displays the CPU usage statistics. The
cpu-number
argument must be 0.
Usage guidelines
After startup, the device tracks the average CPU usage at the following intervals:
•
5 seconds.
•
1 minute.
•
5 minutes.
This command displays the average CPU usage values during the last 5-second, 1-minute, and
5-minute intervals.
Examples
# Display the current CPU usage statistics for all member devices.
<Sysname> display cpu-usage
Slot 1 CPU 0 CPU usage:
6% in last 5 seconds
10% in last 1 minute
5% in last 5 minutes
Table 35 Command output
Field Description
6% in last 5 seconds
Average CPU usage during the last 5-second interval.
10% in last 1 minute
Average CPU usage during the last 1-minute interval.
5% in last 5 minutes
Average CPU usage during the last 5-minute interval.
Slot
x
CPU
y
CPU usage
Usage statistics for CPU y of member device x.