3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2250 CHAPTER 148: DEVICE MANAGEMENT COMMANDS
display cpu-usage
Syntax display cpu-usage [ task ] [ number [ offset ] [ verbose ] [ from-device ]]
View Any view
Parameter task: Displays CPU usage of each task.
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.
slave: Specifies to display the statistics of the CPU usage of a standby card.
slot slot-number: Specifies to display the statistics of the CPU usage of a card.
slot-number specifies the slot number of a card. The value range varies with
devices.
from-device: Displays external storage devices such as Flash and hard disk. The
device currently does not support the from-device keyword.
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+1 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.
Example # Display the current CPU usage statistics.
<Sysname> display cpu-usage
Slot 4 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.
<Sysname> system-view
[Sysname] display cpu-usage task
===== Current CPU usage info =====
CPU Usage Stat. Cycle: 41 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2006-07-10 11:02:20