show system buffers
구문
show system buffers
구문(EX 시리즈)
show system buffers <all-members> <local> <member member-id>
구문(TX Matrix 라우터)
show system buffers <all-chassis | all-lcc | lcc number | scc>
구문(TX Matrix Plus 라우터)
show system buffers <all-chassis | all-lcc | lcc number | sfc number>
구문(MX 시리즈 라우터)
show system buffers <all-members> <local> <member member-id>
구문(QFX 시리즈)
show system buffers <infrastructure name | interconnect-device name | node-group name | root-only (infrastructure name | interconnect-device name | node-group name)>
설명
라우팅 엔진이 로컬 트래픽에 사용하는 버퍼 풀에 대한 정보를 표시합니다. 로컬 트래픽은 라우터 또는 스위치 내의 라우팅 엔진과 패킷 전달 엔진 간에 교환되는 라우팅 및 관리 트래픽이며, IP의 라우팅 및 관리 트래픽(즉, OSPF, BGP, SNMP, 핑 작업 등)입니다.
옵션
none | 모든 버퍼 통계를 표시합니다. |
all-lcc | (TX Matrix 라우터 및 TX Matrix Plus 라우터만 해당) (선택 사항) TX Matrix 라우터에서 TX Matrix 라우터에 연결된 모든 T640 라우터에 대한 버퍼 통계를 표시합니다. TX Matrix Plus 라우터에서 TX Matrix Plus 라우터에 연결된 모든 라우터에 대한 버퍼 통계를 표시합니다. |
all-chassis | (TX Matrix 라우터 및 TX Matrix Plus 라우터만 해당) (선택 사항) 모든 섀시에 대한 버퍼 통계를 표시합니다. |
all-members | (EX4200 스위치 및 MX 시리즈 라우터만 해당) (선택 사항) Virtual Chassis 구성의 모든 멤버에 대한 버퍼 통계를 표시합니다. |
infrastructure name | (QFabric 시스템만 해당) (선택 사항) 패브릭 제어 라우팅 엔진 또는 패브릭 제어 라우팅 엔진에 대한 버퍼 통계를 표시합니다. |
interconnect-device name | (QFabric 시스템만 해당) (선택 사항) 인터커넥트 디바이스에 대한 버퍼 통계를 표시합니다. |
lcc number | (TX Matrix 라우터 및 TX Matrix Plus 라우터만 해당) (선택 사항) TX Matrix 라우터에서는 TX Matrix 라우터에 연결된 특정 T640 라우터(또는 라인 카드 섀시)에 대한 버퍼 통계를 표시합니다. TX Matrix Plus 라우터에서는 TX Matrix Plus 라우터에 연결된 특정 라우터(회선 카드 섀시)에 대한 버퍼 통계를 표시합니다. LCC 구성에 따라 를 다음 값으로 대체 number 하십시오.
|
local | (EX4200 스위치 및 MX 시리즈 라우터만 해당) (선택 사항) 로컬 Virtual Chassis 멤버에 대한 버퍼 통계를 표시합니다. |
member member-id | (EX4200 스위치 및 MX 시리즈 라우터만 해당) (선택 사항) Virtual Chassis 구성의 지정된 멤버에 대한 버퍼 통계를 표시합니다. EX4200 스위치의 경우 0에서 9까지의 값으로 바꿉니다 member-id . MX 시리즈 Virtual Chassis의 경우 0 또는 1의 값으로 대체 member-id 하십시오. |
node-group name | (QFabric 시스템만 해당) (선택 사항) 노드 그룹에 대한 버퍼 통계 표시 |
sfc | (TX Matrix Plus 라우터만 해당) (선택 사항) TX Matrix Plus 라우터에 대한 버퍼 통계를 표시합니다. 0으로 바꿉니다number. |
추가 정보
기본적으로 TX Matrix 라우터 또는 TX Matrix Plus 라우터의 기본 라우팅 엔진에서 명령을 실행하면 show system buffers
명령은 라우팅 매트릭스에서 연결된 LCC의 모든 기본 라우팅 엔진으로 브로드캐스트됩니다. 마찬가지로, TX Matrix 또는 TX Matrix Plus 라우터의 백업 라우팅 엔진에서 동일한 명령을 실행하면 명령은 라우팅 매트릭스에서 연결된 LCC의 모든 백업 라우팅 엔진에 브로드캐스트됩니다.
a cluster 라고 하는 특수한 유형의 메모리 버퍼의 크기는 2KB입니다. 자세한 내용은 McKusic, Bostic, Karels, and Quarterman 의 The Design and Implementation of the 4.4BSD Operation System 을 참조하십시오.
필요한 권한 수준
보기
출력 필드
표 1 에는 명령의 출력 필드가 설명되어 있습니다 show system buffers
. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
필드 이름 |
필드 설명 |
---|---|
사용 중인 MBUF |
메모리 버퍼(mbuf)는 커널 내부에서 다양한 용도로 사용되는 128바이트 버퍼입니다. 각 메모리 버퍼에는 유형이 있으며, 출력은 각 유형에 할당된 양을 항목별로 분류합니다. 메모리 버퍼가 할당되지 않은 형식은 표시되지 않습니다. |
패킷 헤더에 할당된 MBUF |
현재 패킷 헤더를 보유하고 있는 메모리 버퍼 수 |
제어 블록에 할당된 mbufs |
현재 소켓 상태를 유지하고 있는 메모리 버퍼 수입니다. |
데이터 전송에 할당된 mbufs |
현재 소켓 송신 데이터를 보유하고 있는 메모리 버퍼 수입니다. |
PFE 리필 데이터에 할당된 MBUFS |
현재 패킷 전달 엔진 리필 데이터를 보유하고 있는 메모리 버퍼 수입니다. |
FXP 데이터에 할당된 MBUF |
현재 fxp 데이터를 보유하고 있는 메모리 버퍼 수입니다. |
소켓 이름 및 주소에 할당된 MBUF |
현재 소켓에 대한 주소를 보유하고 있는 메모리 버퍼 수입니다. |
사용 중인 MBUF 클러스터 |
메모리 버퍼 클러스터에 대한 할당 통계입니다. |
네트워크에 할당 |
네트워킹 및 IPC(프로세스 간 통신) 코드에서 사용 중인 총 메모리 양입니다. |
메모리 요청 거부 |
IPC 및 네트워킹 코드 내의 메모리 할당 요청이 실패한 횟수입니다. |
메모리 요청 지연 |
IPC 및 네트워킹 코드 내의 메모리 할당 요청이 연기된 횟수입니다. |
프로토콜 드레이닝 루틴에 대한 호출 |
IPC 및 네트워킹 코드 내의 메모리 할당 요청이 메모리 회수 시도를 트리거한 횟수입니다. |
샘플 출력
- 시스템 버퍼 표시
- show system buffers scc(TX 매트릭스 라우터)
- show system buffers sfc(TX Matrix Plus 라우터)
- show system buffers all-chassis(TX Matrix Plus 라우터)
- show system buffers node-group(QFabric 시스템)
시스템 버퍼 표시
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 매트릭스 라우터)
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 라우터)
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 라우터)
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 시스템)
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
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령입니다.
sfc Junos OS 릴리스 9.6에서 TX Matrix Plus 라우터에 도입된 옵션입니다.