show system buffers
Syntax
show system buffersSyntax
(routing matrix)show system buffers <all-lcc><lccnumber> <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 bufferscommand 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.
lccnumber—(Routing matrix only) (Optional) Show buffer statistics for a specific T640 routing node that is connected to a TX Matrix platform.numbercan be from0through3.
scc—(Routing matrix only) (Optional) Show buffer statistics for the TX Matrix platform.Required Privilege Level
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 buffers853 mbufs in use:2 mbufs allocated to packet headers37 mbufs allocated to protocol control blocks28 mbufs allocated to socket names and addresses2 mbufs allocated to socket send data400 mbufs allocated to pfe refill data384 mbufs allocated to fxp data784/944 mbuf clusters in use1994 Kbytes allocated to network (83% in use)0 requests for memory denied0 requests for memory delayed0 calls to protocol drain routinesSample Output: show system buffers scc (routing matrix)
user@host>show system buffers scc213 mbufs in use:11 mbufs allocated to packet headers26 mbufs allocated to socket names and addresses2 mbufs allocated to socket options17 mbufs allocated to socket send data2 mbufs allocated to pfe data155 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 use2788 Kbytes allocated to network (75% in use)0 requests for memory denied0 requests for memory delayed0 calls to protocol drain routines