< Home

display buffer

Function

The display buffer command displays statistics about the 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 FW, service modules generate logs and control the log volumes. 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 the statistics about log information in the buffer, including:
  • Discarded logs
  • Sent logs
  • Log sending rate

Example

# View the statistics about logs cached in the buffer SNMP_SET on the service module SNMP.
<sysname> display buffer SNMP SNMP_FAIL
Feature name : SNMP                                                             
Buffer name : SNMP_FAIL                                                         
  Buffer ID                    : 21                                             
  Max length of message        : 268                                            
  Max number of message        : 10                                             
  Time threshold(s)            : 600                                            
  Store lastest message number : 0                                              
  Total receive number         : 0                                              
  Total process number         : 0                                              
  Max rate record              : 0 / 600(s)                                     
  Max rate timestamp           : 0-00-00 00:00:00  
Table 1 Description of the display buffer SNMP SNMP_SET command output

Item

Description

Feature name

Feature name

Buffer name

Buffer name

Buffer ID

Buffer ID

Max length of message

Maximum message length allowed by the buffer

Max number of message

Maximum number of messages in the buffer

Time threshold

Time threshold

Store lastest message number

Number of messages saved to non-volatile memory

Total receive number

Number of messages received

Total process number

Number of messages processed

Max rate record

Maximum rate

Max rate timestamp

Timestamp when the maximum rate is calculated

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