4-6
the one with the idx of 9. idx represents the serial number of the period for the statistics, and its value
ranges from 0 to 60 cyclically. The system makes CPU usage statistics periodically; after each period,
the system records the average CPU usage during this period, and the idx value is added by 1
automatically.
verbose
: Specifies to display detailed information of CPU usage statistics. If this keyword is not
provided, the system displays the brief information of the CPU usage statistics; if this keyword is
provided, the system displays the average CPU usage statistics for each task in the specified period.
from-device
: Displays external storage media. The device currently does not support the
from-device
keyword.
slot
slot-number
: Indicates to display the statistics of the CPU usage of the specified member device.
slot-number
specifies the member ID of the device. You can use the
display irf
command to view the
member IDs of devices in a stack system.
cpu
cpu-number
: Displays the CPU usage statistics of the specified CPU. If the
cpu-number
argument
is not provided, the system displays the CPU usage statistics of all CPUs of the specified board or
member device.
Description
Use the
display cpu-usage
command to display the CPU usage statistics.
The system takes statistics of CPU usage at intervals (usually every 60 seconds) and saves the
statistical results in the history record area.
display cpu-usage
entry-number
indicates the system
displays
entry-number
records from the newest (last) record.
display cpu-usage
entry-number offset
indicates the system displays
entry-number
records from the last but
offset
record.
Equivalent to the
display cpu-usage 1 0 verbose
command, the
display cpu-usage
command
displays detailed information of the last CPU usage statistics record.
Examples
# Display information of the current CPU usage statistics.
<Sysname> display cpu-usage
Slot 1 CPU usage:
6% in last 5 seconds
10% in last 1 minute
5% in last 5 minutes
Slot 2 CPU usage:
5% in last 5 seconds
8% in last 1 minute
5% in last 5 minutes
# Display the last fifth and sixth records of the CPU usage statistics history.
<Sysname> display cpu-usage 2 4
===== CPU usage info (no: 0 idx: 58) =====
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2006-07-10 10:56:55
CPU Usage Stat. Tick : 0x1d9d(CPU Tick High) 0x3a659a70(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x95030517(CPU Tick Low)
===== CPU usage info (no: 1 idx: 57) =====
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...