Description
Use the display logbuffer command to display the status of the log buffer and the records in the log
buffer.
Example
# Display the status of the log buffer and the records in the log buffer.
<Sysname>
display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 91
%Jun 19 18:03:24:55 2006 Sysname IC/7/SYS_RESTART:
System restarted --
The rest is omitted here.
Table 1-3 display logbuffer command output description
Logging buffer configuration and contents
Allowed max buffer size
Actual buffer size
Channel number
Channel name
Dropped messages
Overwritten messages
Current messages
display logbuffer summary
Syntax
display logbuffer summary [ level severity ]
View
Any view
Field
Indicates the current state of the log buffer and
its contents, which could be enabled or disabled.
The maximum buffer size allowed
The actual buffer size
The channel number of the log buffer, defaults to
4.
The channel name of the log buffer, defaults to
logbuffer.
The number of dropped messages
The number of overwritten messages (when the
buffer size is not big enough to hold all
messages, the latest messages overwrite the old
ones).
The number of the current messages
1-4
Description