< Home

display buffer

Function

The display buffer command displays statistics about logs cached in the buffer.

Format

display buffer [ feature-name [ buffer-name ] ]

Parameters

Parameter Description Value
feature-name Specifies the name of the buffer dedicated to caching logs of a specific feature. -
buffer-name Specifies the name of the buffer. -

Views

All views

Default Level

3: Management level

Usage Guidelines

On the device, service modules generate logs and control the log volume. The information center processes the received logs.

When the number of logs that are generated within a specified period (T) exceeds the threshold, the service module, with the buffer mechanism, saves extra logs to the buffer and does not send them to the information center.

You can run the display buffer command to view statistics about log information in the buffer.

Example

# Display statistics about logs cached in the buffer on the service module L2IF.

<HUAWEI> display buffer L2IF
Feature name : L2IF                                                                                                                 
Buffer number : 1                                                                                                                   
Buffer name : CALLBACKFAIL                                                                                                          
  Buffer ID                    : 35                                                                                                 
  Max length of message        : 256                                                                                                
  Max number of message        : 5                                                                                                  
  Time threshold(s)            : 3600                                                                                               
  Store lastest message number : 0                                                                                                  
  Total receive number         : 76                                                                                                 
  Total process number         : 5                                                                                                  
  Max rate record              : 0 / 3600(s)                                                                                        
  Max rate timestamp           : 0-00-00 00:00:00
Table 1 Description of the display buffer command output

Item

Description

Feature name

Feature name.

Buffer number

Buffer number.

Buffer name

Buffer name.

Buffer ID

Buffer ID.

Max length of message

Maximum length of a message.

Max number of message

Maximum number of messages.

Time threshold(s)

Time threshold.

Store lastest message number

Number of messages saved to non-volatile memory.

Total receive number

Total receive number

Total process number

Total process number

Max rate record

Maximum rate record.

Max rate timestamp

Maximum rate timestamp.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >