3Com S7902E Command Reference Manual - page 2018
1-4
Parameters
number
: Number of CPU usage statistics records to be displayed.
offset:
Offset between the serial number of the first CPU usage statistics record to be displayed and that
of the last CPU usage record to be displayed.
verbose
: Specifies to display detailed information of CPU usage statistics.
from-device
: Displays external storage devices such as Flash and hard disk. The device currently does
not support the
from-device
keyword.
task
: Displays CPU usage of each task.
slot
slot-number
: Specifies to display the statistics of the CPU usage of a board.
slot-number
specifies
the slot number of a board. The value range varies with devices.
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. The maximum number of records that can be saved
depends on the device model.
display cpu-usage
number
indicates the system displays
number
records from the newest (last) record.
display cpu-usage
number offset
indicates the system displays
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.
Slot 1 CPU usage:
14% in last 5 seconds
12% in last 1 minute
8% in last 5 minutes
# Display detailed information of the last CPU usage statistics record of the current tasks.
===== Current CPU usage info =====
CPU Usage Stat. Cycle: 41 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2006-07-10 11:02:20
CPU Usage Stat. Tick : 0x1da0(CPU Tick High) 0x62a5077f(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x3d5b5ad1(CPU Tick Low)
TaskName CPU Runtime(CPU Tick High/CPU Tick Low)
b2X0 0% 0/ ce77f
VIDL 97% 0/3bc6e650
TICK 0% 0/ 23ec62
STMR 0% 0/ ad24
DrTF 0% 0/ 28b6b
DrTm 0% 0/ 18a28
bCN0 0% 0/ d840e