display diagnostic-information
Use display diagnostic-information to display the operating statistics for multiple feature modules in the system.
Syntax
display diagnostic-information [ hardware | infrastructure | l2 | l3 | service ] [ filename ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
hardware: Displays hardware-related operating statistics.
infrastructure: Displays operating statistics for the fundamental modules.
l2: Displays operating statistics for the Layer 2 features.
l3: Displays operating statistics for the Layer 3 features.
service: Displays operating statistics for upper-layer features.
filename: Specifies a .tar.gz file to save the statistics to the file.
Usage guidelines
For diagnostics or troubleshooting, you can use separate display commands to collect running status data module by module or use the display diagnostic-information command to bulk collect running data for multiple modules.
This display command does not support the | by-linenum option, the > filename option, or the >> filename option. However, this command asks you whether you want to save the output to a file or display the output on the screen. The file used to save the output is automatically compressed to save storage space.
To successfully save the statistics to a file, make sure the directory for saving core files on the active MPU or global active MPU is not NULL and is accessible. To display the directory, use the display exception filepath command.
Before executing the display diagnostic-information command, perform the following tasks:
Use the display cpu-usage command to display CPU usage statistics.
Use the display memory command to display memory usage statistics.
Make sure the CPU usage is not 100% and the memory usage is not higher than 90% before executing the display diagnostic-information command.
Examples
# Display the operating statistics for multiple feature modules in the system.
<Sysname> display diagnostic-information Save or display diagnostic information (Y=save, N=display)? [Y/N]:n =============================================== ===============display clock=============== 14:03:55 UTC Thu 01/05/2015 ================================================= ===============display version=============== …