[Contents] [Prev] [Next] [Index] [Report an Error]


show system buffers

Syntax

show system buffers 

Syntax
(routing matrix)

show system buffers <all-lcc> <lcc number> <scc>

Description

Display information about the buffer pool that the Routing Engine uses for local traffic. Local traffic is the routing and management traffic that is exchanged between the Routing Engine and the Packet Forwarding Engine within the router, as well as the routing and management traffic from IP (that is, from OSPF, BGP, SNMP, pings, and so on).

By default, when you issue the show system buffers command on a TX Matrix master Routing Engine, the command is broadcast to all the T640 master Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix backup Routing Engine, the command is broadcast to all the T640 backup Routing Engines that are connected to it.

A special type of memory buffer called a cluster is 2 KB in size. For more information, see The Design and Implementation of the 4.4BSD Operation System by McKusic, Bostic, Karels, and Quarterman.

Options

all-lcc—(Routing matrix only) (Optional) Show buffer statistics for all T640 routing nodes connected to a TX Matrix platform.

lcc number—(Routing matrix only) (Optional) Show buffer statistics for a specific T640 routing node that is connected to a TX Matrix platform. number can be from 0 through 3.

scc—(Routing matrix only) (Optional) Show buffer statistics for the TX Matrix platform.

Required Privilege Level

view

Output Fields

mbufs in use—Memory buffers (mbufs) are 128-byte buffers that are used for various purposes inside the kernel. Each memory buffer has a type, and the output itemizes the amount allocated for each type. Types with no memory buffers allocated are not displayed.

mbufs allocated to packet headers—Number of memory buffers currently holding packet headers.

mbufs allocated to protocol control blocks—Number of memory buffers currently holding state for sockets.

mbufs allocated to socket send data—Number of memory buffers currently holding socket send data.

mbufs allocated to pfe refill data—Number of memory buffers currently holding Packet Forwarding Engine (PFE) refill data.

mbufs allocated to fxp data—Number of memory buffers currently holding fxp data.

mbufs allocated to socket names and addresses—Number of memory buffers currently holding addresses for sockets.

mbuf clusters in use—Allocation statistics for mbuf clusters.

allocated to network—Total amount of memory in use by the networking and interprocess communication (IPC) code.

requests for memory denied—Number of times a memory allocation request within the IPC and networking code failed.

requests for memory delayed—Number of times a memory allocation request within the IPC and networking code was postponed.

calls to protocol drain routines—Number of times a memory allocation request within the IPC and networking code triggered a memory reclamation attempt.

Sample Output: show system buffers

user@host> show system buffers
        853 mbufs in use:
        2 mbufs allocated to packet headers
        37 mbufs allocated to protocol control blocks
        28 mbufs allocated to socket names and addresses
        2 mbufs allocated to socket send data
        400 mbufs allocated to pfe refill data
        384 mbufs allocated to fxp data
784/944 mbuf clusters in use
1994 Kbytes allocated to network (83% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines 

Sample Output: show system buffers scc (routing matrix)

user@host> show system buffers scc
213 mbufs in use:
        11 mbufs allocated to packet headers
        26 mbufs allocated to socket names and addresses
        2 mbufs allocated to socket options
        17 mbufs allocated to socket send data
        2 mbufs allocated to pfe data
        155 mbufs allocated to fxp data (rx)
        511 mbufs allocated to <mbuf type 86>
        256 mbufs allocated to <mbuf type 92>
924/1162 mbuf clusters in use
2788 Kbytes allocated to network (75% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

[Contents] [Prev] [Next] [Index] [Report an Error]