50
Displaying the operational statistics of the router
When you perform routine maintenance or the system fails, you may need to view the operational
information of each functional module for locating failures. Generally, you need to run
display
commands one by one. To collect more information one time, you can execute the
display
diagnostic-information
command in any view to display or save the operational statistics of multiple
functional modules of the router. This command displays the output of the
display clock
,
display version
,
display device
, and
display current-configuration
commands.
•
To save the operational statistics of each functional module of the router, type
y
when the system
prompts you to save or display the diagnostic information.
<Sysname> display diagnostic-information
Save or display diagnostic information (Y=save, N=display)? [Y/N]:y
Please input the file name(*.diag)[flash:/default.diag]:aa.diag
Diagnostic information is outputting to flash:/aa.diag.
Please wait...
Save succeeded.
Execute the
more aa.diag
command in user view, and then press the
Page Up
and
Page Down
keys to view the contents of the file
aa.diag
.
•
To display the operational statistics of each functional module of the router, type
n
when the system
prompts you to save or display the diagnostic information. The output is too much and omitted here.
<Sysname> display diagnostic-information
Save or display diagnostic information (Y=save, N=display)? [Y/N]:n
=================================================================
===============running CPU usage information===============
=================================================================
===== Current CPU usage info =====
CPU Usage Stat. Cycle: 23 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2011-12-09 10:36:20
CPU Usage Stat. Tick : 0x2(CPU Tick High) 0x7b652c7(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x4774e2b8(CPU Tick Low)
…Omitted…
Displaying the detailed information about a module
Use the
display device verbose
command to display detailed information of modules in each slot.
<Sysname>display device verbose
Slot No. Board type Status Primary SubSlots
---------------------------------------------------------------------
0 HSR6602-XG Normal Master 0
1 N/A Absent N/A N/A
Use the
display device slot
slot-number
command to display detailed information about the module in the
specified slot.
<Sysname> display device slot 0
Slot 0 : HSR6602-XG
SubSlot No. Card Type Status Max Ports
--------------------------------------------------------