show system buffers
Syntax
Syntax (EX Series Switch)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.
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 or switch, as well as the routing and management traffic from IP (that is, from OSPF, BGP, SNMP, ping operations, and so on).
Options
- none
Show all buffer statistics.
- all-members
(EX4200 switches only) (Optional) Show buffer statistics for on all members of the Virtual Chassis configuration.
- all-lcc
(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show buffer statistics for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, show buffer statistics for all T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.
- all-chassis
(TX Matrix and TX Matrix Plus routers only) (Optional) Show buffer statistics for all of the chassis.
- lcc number
(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show buffer statistics for a specific T640 router (or line-card chassis) that is connected to the TX Matrix router. On a TX Matrix Plus router, show buffer statistics for a specific T1600 router (or line-card chassis) that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.
- local
(EX4200 switches only) (Optional) Show buffer statistics for the local Virtual Chassis member.
- member member-id
(EX4200 switches only) (Optional) Show buffer statistics for the specified member of the Virtual Chassis configuration. Replace member-id with a value from 0 through 9.
- sfc
(TX Matrix Plus routers only) (Optional) Show buffer statistics for the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.
Additional Information
By default, when you issue the show system buffers command on a TX Matrix or TX Matrix Plus master Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) master Routing Engines or T1600 (in a routing matrix based on a TX Matrix Plus router) master Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix or TX Matrix Plus backup Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on the TX Matrix router) backup Routing Engines or T1600 (in a routing matrix based on the TX Matrix Plus router) 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.
Required Privilege Level
view
List of Sample Output
show system buffersshow system buffers scc (TX Matrix Router)
show system buffers sfc (TX Matrix Plus Router)
show system buffers all-chassis (TX Matrix Plus Router)
Output Fields
Table 1 describes the output fields for the show system buffers command. Output fields are listed in the approximate order in which they appear.
Table 1: show system buffers Output Fields
Field Name | Field Description |
|---|---|
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 control blocks | Number of memory buffers currently holding state for sockets. |
mbufs allocated to 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 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 protoocl 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
show system buffers scc (TX Matrix Router)
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
show system buffers sfc (TX Matrix Plus Router)
user@host> show system buffers sfc 0 sfc0-re0: -------------------------------------------------------------------------- 4363/2807/7170 mbufs in use (current/cache/total) 4358/1968/6326/30000 mbuf clusters in use (current/cache/total/max) 256/128 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 9806K/4637K/14444K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/10/1024 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines
show system buffers all-chassis (TX Matrix Plus Router)
user@host> show system buffers all-chassis sfc0-re0: -------------------------------------------------------------------------- 4363/2807/7170 mbufs in use (current/cache/total) 4358/1968/6326/30000 mbuf clusters in use (current/cache/total/max) 256/128 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 9806K/4637K/14444K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/10/1024 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines lcc0-re0: -------------------------------------------------------------------------- 772/2558/3330 mbufs in use (current/cache/total) 772/598/1370/30000 mbuf clusters in use (current/cache/total/max) 768/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 1737K/1835K/3572K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/4/1024 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines lcc1-re0: -------------------------------------------------------------------------- 773/2437/3210 mbufs in use (current/cache/total) 773/453/1226/30000 mbuf clusters in use (current/cache/total/max) 768/384 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 1739K/1515K/3254K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/7/1024 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines lcc2-re0: -------------------------------------------------------------------------- 816/2514/3330 mbufs in use (current/cache/total) 816/554/1370/30000 mbuf clusters in use (current/cache/total/max) 768/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 1836K/1736K/3572K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/4/1024 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile
