R3303-HP HSR6800 Routers Fundamentals Command Reference
144
Usage guidelines
The system regularly (typically at 60-second intervals) collects CPU usage statistics and saves the
statistical results in the history record area.
The display cpu-usage entry-number command displays entry-number latest records, starting from the
latest record. The display cpu-usage entry-number offset command displays number latest records,
starting from the last (offset+1)th record.
Examples
# # In standalone mode, display the current CPU usage statistics.
<Sysname> display cpu-usage
Slot 0 CPU usage:
1% in last 5 seconds
0% in last 1 minute
0% in last 5 minutes
Slot 1 CPU usage:
1% in last 5 seconds
1% in last 1 minute
1% in last 5 minutes
# Display the last fifth and sixth record entries in CPU usage statistics.
<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) =====
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2006-07-10 10:55:55
CPU Usage Stat. Tick : 0x1d9c(CPU Tick High) 0xa50e5351(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x950906af(CPU Tick Low)
# In IRF mode, display the current CPU usage statistics for all cards.
<Sysname> display cpu-usage
Chassis 1 Slot 0 CPU usage:
9% in last 5 seconds
8% in last 1 minute
8% in last 5 minutes
Chassis 1 Slot 2 CPU usage:
5% in last 5 seconds
4% in last 1 minute
4% in last 5 minutes
Chassis 1 Slot 4 CPU usage:
6% in last 5 seconds
6% in last 1 minute