Description
Example
display logfile summary
Syntax
View
Parameter
Description
Example
Use the
display logfile buffer
buffer.
n
The support for the command varies with devices.
# Display the contents of the log file buffer.
<Sysname> display logfile buffer
%@387986%Jun 20 10:52:03 2006 Sysname %%10IC/7/SYS_RESTART:
System restarted --
H3C Platform Software
%@387988#Jun 20 10:52:48:494 2006 Sysname ENTITY/5/CPU THRESHOLD REACHED:
Trap 1.3.6.1.4.1.2011.10.2.6.2.0.4: Entity ID is 3, cpu usage is 100%, cpu
usage threshold is 100%, admin status is 1, alarm light status is 0
%@387989#Jun 20 10:52:48:495 2006 Sysname DEV/2/BOARD TEMPERATURE NORMAL:
Trap 1.3.6.1.4.1.2011.2.23.1.12.1.15: frameIndex is 0, slotIndex 0.0
%@387990%Jun 20 10:52:48:495 2006 Sysname DEV/5/BOARD TEMP NORMAL:
The rest is omitted here.
display logfile summary
Any view
None
Use the
display logfile summary
log file.
# Display the configuration of the log file.
[Sysname]display logfile summary
Log file is enabled.
Channel number : 9
Log file size quota : 0 MB (0 for unlimited)
Log file directory : cf:/logfile
Writing frequency : 0 hour 0 min 10 sec
Table 631 Descriptions on the fields of the display logfile summary command
Field
Log file is
Channel number
Log file size quota
Log file directory
Writing frequency
command to display contents of the log file
command to display the configuration of the
Description
The current state of a log file, which could be enabled or disabled.
The channel number of a log file, defaults to 9.
The maximum storage space reserved for a log file
Log file directory
Log file writing frequency
2431