show system buffers
Syntax
show system buffers
Syntax (EX Series)
show system buffers <all-members> <local> <member member-id>
Syntax (TX Matrix Router)
show system buffers <all-chassis | all-lcc | lcc number | scc>
Syntax (TX Matrix Plus Router)
show system buffers <all-chassis | all-lcc | lcc number | sfc number>
Syntax (MX Series Router)
show system buffers <all-members> <local> <member member-id>
Syntax (QFX Series)
show system buffers <infrastructure name | interconnect-device name | node-group name | root-only (infrastructure name | interconnect-device name | node-group name)>
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-lcc | (TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show buffer statistics for all T640 routers connected to the TX Matrix router. On a TX Matrix Plus router, show buffer statistics for all routers connected to the TX Matrix Plus router. |
all-chassis | (TX Matrix routers and TX Matrix Plus routers only) (Optional) Show buffer statistics for all of the chassis. |
all-members | (EX4200 switches and MX Series routers only) (Optional) Show buffer statistics for all members of the Virtual Chassis configuration. |
infrastructure name | (QFabric systems only) (Optional) Show buffer statistics for a fabric control Routing Engine or a fabric control Routing Engine. |
interconnect-device name | (QFabric systems only) (Optional) Show buffer statistics for the Interconnect device. |
lcc number | (TX Matrix routers 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 router (line-card chassis) that is connected to the TX Matrix Plus router. Replace number with the following values depending on the LCC configuration:
|
local | (EX4200 switches and MX Series routers only) (Optional) Show buffer statistics for the local Virtual Chassis member. |
member member-id | (EX4200 switches and MX Series routers only) (Optional) Show buffer statistics for the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1. |
node-group name | (QFabric systems only) (Optional) Show buffer statistics for the Node group |
sfc | (TX Matrix Plus routers only) (Optional) Show buffer statistics for the TX Matrix Plus router. Replace number with 0. |
Additional Information
By default, when you issue the show system buffers
command on the primary Routing Engine of a TX Matrix router or a
TX Matrix Plus router, the command is broadcast to all the primary
Routing Engines of the LCCs connected to it in the routing matrix.
Likewise, if you issue the same command on the backup Routing Engine
of a TX Matrix or a TX Matrix Plus router, the command is broadcast
to all backup Routing Engines of the LCCs that are connected to it
in the routing matrix.
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
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.
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 the 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 memory buffer 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
- show system buffers scc (TX Matrix Router)
- show system buffers sfc (TX Matrix Plus Router)
- show system buffers all-chassis (TX Matrix Plus Router)
- show system buffers node-group (QFabric System)
show system buffers
user@host> show system buffers 397/893/1290 mbufs in use (current/cache/total) 395/331/726/30000 mbuf clusters in use (current/cache/total/max) 384/256 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) 889K/885K/1774K 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/5/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 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
show system buffers node-group (QFabric System)
user@switch> show system buffers node-group node1 node-group node1: -------------------------------------------------------------------------- 2/2698/2700 mbufs in use (current/cache/total) 2/1520/1522/30000 mbuf clusters in use (current/cache/total/max) 0/1280 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) 4K/3714K/3719K 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/6/6656 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 re0: -------------------------------------------------------------------------- 516/639/1155 mbufs in use (current/cache/total) 515/147/662/30000 mbuf clusters in use (current/cache/total/max) 512/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) 1159K/453K/1612K 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 re1: -------------------------------------------------------------------------- 519/771/1290 mbufs in use (current/cache/total) 518/176/694/30000 mbuf clusters in use (current/cache/total/max) 512/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) 1165K/544K/1710K 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
Release Information
Command introduced before Junos OS Release 7.4.
sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.