Command introduced before JUNOS Release 7.4.
sfc option introduced for the TX Matrix Plus router in JUNOS Release 9.6.
Display the usage of JUNOS kernel memory listed first by size of allocation and then by type of usage. Use show system virtual-memory for troubleshooting with Juniper Networks Customer Support.
all-chassis — (TX Matrix and TX Matrix Plus routers only) (Optional) Display kernel dynamic memory usage information for all chassis.
all-lcc — (TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display kernel dynamic memory usage information for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, display kernel dynamic memory usage information for all T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.
lcc number — (TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display kernel dynamic memory usage information for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, display kernel dynamic memory usage information for a specific T1600 router that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.
scc — (TX Matrix routers only) (Optional) Display kernel dynamic memory usage information for the TX Matrix router (or switch-card chassis).
sfc number — (TX Matrix Plus routers only) (Optional) Display kernel dynamic memory usage information for the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.
By default, when you issue the show system virtual-memory 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) 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 a TX Matrix router) or T1600 (in a routing matrix based on a TX Matrix Plus router) backup Routing Engines that are connected to it.
view
Table 139 lists the output fields for the show system virtual-memory command. Output fields are listed in the approximate order in which they appear.
Table 139: show system virtual-memory Output Fields
user@host> show system virtual-memory Memory statistics by bucket size
Size In Use Free Requests HighWater Couldfree
16 906 118 154876 1280 0
32 455 313 209956 640 0
64 4412 260 75380 320 20
128 3200 32 19361 160 81
256 1510 10 8844 80 4
512 446 2 5085 40 0
1K 18 2 5901 20 0
2K 1128 2 4445 10 1368
4K 185 1 456 5 0
8K 5 1 2653 5 0
16K 181 0 233 5 0
32K 2 0 1848 5 0
64K 20 0 22 5 0
128K 5 0 5 5 0
256K 2 0 2 5 0
512K 1 0 1 5 0
Memory usage type by bucket size
Size Type(s)
16 uc_devlist, nexusdev, iftable, temp, devbuf, atexit, COS, BPF,
DEVFS mount, DEVFS node, vnodes, mount, pcb, soname, proc-args, kld,
MD disk, rman, ATA generic, bus, sysctl, ippool, pfestat, ifstate,
pfe_ipc, mkey, rtable, ifmaddr, ipfw, rnode
32 atkbddev, dirrem, mkdir, diradd, freefile, freefrag, indirdep,
bmsafemap, newblk, temp, devbuf, COS, vnodes, cluster_save buffer,
pcb, soname, proc-args, sigio, kld, Gzip trees, taskqueue, SWAP,
eventhandler, bus, sysctl, uidinfo, subproc, pgrp, pfestat, itable32,
ifstate, pfe_ipc, mkey, rtable, ifmaddr, ipfw, rnode, rtnexthop
64 isadev, iftable, MFS node, allocindir, allocdirect, pagedep, temp,
devbuf, lockf, COS, NULLFS hash, DEVFS name, vnodes,
cluster_save buffer, vfscache, pcb, soname, proc-args, file,
AR driver, AD driver, Gzip trees, rman, eventhandler, bus, sysctl,
subproc, pfestat, pic, ifstate, pfe_ipc, mkey, ifaddr, rtable, ipfw
128 ZONE, freeblks, inodedep, temp, devbuf, zombie, COS, DEVFS node,
vnodes, mount, vfscache, pcb, soname, proc-args, ttys, dev_t,
timecounter, kld, Gzip trees, ISOFS node, bus, uidinfo, cred,
session, pic, itable16, ifstate, pfe_ipc, rtable, ifstat, metrics,
rtnexthop, iffamily
256 iflogical, iftable, MFS node, FFS node, newblk, temp, devbuf,
NFS daemon, vnodes, proc-args, kqueue, file desc, Gzip trees, bus,
subproc, itable16, ifstate, pfe_ipc, sysctl, rtnexthop
512 UFS mount, temp, devbuf, mount, BIO buffer, ptys, ttys, AR driver,
Gzip trees, ISOFS mount, msg, ioctlops, ATA generic, bus, proc,
pfestat, lr, ifstate, pfe_ipc, rtable, ipfw, ifstat, rtnexthop
1K iftable, temp, devbuf, NQNFS Lease, kqueue, kld, AD driver,
Gzip trees, sem, MD disk, bus, ifstate, pfe_ipc, ipfw
2K uc_devlist, UFS mount, temp, devbuf, BIO buffer, pcb, AR driver,
Gzip trees, ioctlops, bus, ipfw, ifstat, rcache
4K memdesc, iftable, UFS mount, temp, devbuf, kld, Gzip trees, sem, msg
8K temp, devbuf, syncache, Gzip trees
16K indirdep, temp, devbuf, shm, msg
32K pagedep, kld, Gzip trees
64K VM pgdata, devbuf, MSDOSFS mount
128K UFS ihash, inodedep, NFS hash, kld, ISOFS mount
256K mbuf, vfscache
512K SWAP
Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
isadev 13 1K 1K127753K 13 0 0 64
atkbddev 2 1K 1K127753K 2 0 0 32
uc_devlist 24 3K 3K127753K 24 0 0 16,2K
nexusdev 3 1K 1K127753K 3 0 0 16
memdesc 1 4K 4K127753K 1 0 0 4K
mbuf 1 152K 152K127753K 1 0 0 256K
iflogical 6 2K 2K127753K 6 0 0 256
iftable 17 9K 9K127753K 18 0 0 16,64,256,1K,4K
ZONE 15 2K 2K127753K 15 0 0 128
VM pgdata 1 64K 64K127753K 1 0 0 64K
UFS mount 12 26K 26K127753K 12 0 0 512,2K,4K
UFS ihash 1 128K 128K127753K 1 0 0 128K
MFS node 6 2K 3K127753K 35 0 0 64,256
FFS node 906 227K 227K127753K 1352 0 0 256
dirrem 0 0K 4K127753K 500 0 0 32
mkdir 0 0K 1K127753K 38 0 0 32
diradd 0 0K 6K127753K 521 0 0 32
freefile 0 0K 4K127753K 374 0 0 32
freeblks 0 0K 8K127753K 219 0 0 128
freefrag 0 0K 1K127753K 193 0 0 32
allocindir 0 0K 25K127753K 1518 0 0 64
indirdep 0 0K 17K127753K 76 0 0 32,16K
allocdirect 0 0K 10K127753K 760 0 0 64
bmsafemap 0 0K 1K127753K 72 0 0 32
newblk 1 1K 1K127753K 2279 0 0 32,256
inodedep 1 128K 175K127753K 2367 0 0 128,128K
pagedep 1 32K 33K127753K 47 0 0 64,32K
temp 1239 92K 96K127753K 8364 0 0 16,32,64K
devbuf 1413 5527K 5527K127753K 1535 0 0 16,32,64,128,256
lockf 38 3K 3K127753K 2906 0 0 64
atexit 1 1K 1K127753K 1 0 0 16
zombie 0 0K 2K127753K 3850 0 0 128
NFS hash 1 128K 128K127753K 1 0 0 128K
NQNFS Lease 1 1K 1K127753K 1 0 0 1K
NFS daemon 1 1K 1K127753K 1 0 0 256
syncache 1 8K 8K127753K 1 0 0 8K
COS 353 44K 44K127753K 353 0 0 16,32,64,128
BPF 189 3K 3K127753K 189 0 0 16
MSDOSFS mount 1 64K 64K127753K 1 0 0 64K
NULLFS hash 1 1K 1K127753K 1 0 0 64
DEVFS mount 2 1K 1K127753K 2 0 0 16
DEVFS name 487 31K 31K127753K 487 0 0 64
DEVFS node 471 58K 58K127753K 479 0 0 16,128
vnodes 28 7K 7K127753K 429 0 0 16,32,64,128,256
mount 15 8K 8K127753K 18 0 0 16,128,512
cluster_save buffer 0 0K 1K127753K 55 0 0 32,64
vfscache 1898 376K 376K127753K 3228 0 0 64,128,256K
BIO buffer 49 98K 398K127753K 495 0 0 512,2K
pcb 159 16K 17K127753K 399 0 0 16,32,64,128,2K
soname 82 10K 10K127753K 42847 0 0 16,32,64,128
proc-args 57 2K 3K127753K 2105 0 0 16,32,64,128,256
ptys 32 16K 16K127753K 32 0 0 512
ttys 254 33K 33K127753K 522 0 0 128,512
kqueue 5 3K 4K127753K 23 0 0 256,1K
sigio 1 1K 1K127753K 27 0 0 32
file 383 24K 24K127753K 16060 0 0 64
file desc 76 19K 20K127753K 3968 0 0 256
shm 1 12K 12K127753K 1 0 0 16K
dev_t 286 36K 36K127753K 286 0 0 128
timecounter 10 2K 2K127753K 10 0 0 128
kld 11 117K 122K127753K 34 0 0 16,32,128,1K,4K
AR driver 1 1K 3K127753K 5 0 0 64,512,2K
AD driver 2 2K 3K127753K 2755 0 0 64,1K
Gzip trees 0 0K 46K127753K 133848 0 0 32,64,128,256
ISOFS node 1136 142K 142K127753K 1189 0 0 128
ISOFS mount 9 132K 132K127753K 10 0 0 512,128K
sem 3 6K 6K127753K 3 0 0 1K,4K
MD disk 2 2K 2K127753K 2 0 0 16,1K
msg 4 25K 25K127753K 4 0 0 512,4K,16K
rman 59 4K 4K127753K 461 0 0 16,64
ioctlops 0 0K 2K127753K 992 0 0 512,2K
taskqueue 2 1K 1K127753K 2 0 0 32
SWAP 2 413K 413K127753K 2 0 0 32,512K
ATA generic 6 3K 3K127753K 6 0 0 16,512
eventhandler 17 1K 1K127753K 17 0 0 32,64
bus 340 30K 31K127753K 794 0 0 16,32,64,128,256
sysctl 0 0K 1K127753K 130262 0 0 16,32,64
uidinfo 4 1K 1K127753K 10 0 0 32,128
cred 22 3K 3K127753K 3450 0 0 128
subproc 156 10K 10K127753K 7882 0 0 32,64,256
proc 2 1K 1K127753K 2 0 0 512
session 12 2K 2K127753K 34 0 0 128
pgrp 16 1K 1K127753K 45 0 0 32
ippool 1 1K 1K127753K 1 0 0 16
pfestat 0 0K 1K127753K 47349 0 0 16,32,64,512
pic 5 1K 1K127753K 5 0 0 64,128
lr 1 1K 1K127753K 1 0 0 512
itable32 110 4K 4K127753K 110 0 0 32
itable16 161 26K 26K127753K 161 0 0 128,256
ifstate 694 159K 160K127753K 1735 0 0 16,32,64,128,1K
pfe_ipc 0 0K 1K127753K 56218 0 0 16,32,64,128,1K
mkey 250 4K 4K127753K 824 0 0 16,32,64
ifaddr 9 1K 1K127753K 9 0 0 64
sysctl 0 0K 1K127753K 30 0 0 256
rtable 49 6K 6K127753K 307 0 0 16,32,64,128,512
ifmaddr 22 1K 1K127753K 22 0 0 16,32
ipfw 23 10K 10K127753K 48 0 0 16,32,64,512,2K
ifstat 698 805K 805K127753K 698 0 0 128,512,2K
rcache 4 8K 8K127753K 4 0 0 2K
rnode 27 1K 1K127753K 285 0 0 16,32
metrics 1 1K 1K127753K 3 0 0 128
rtnexthop 57 9K 9K127753K 312 0 0 32,128,256,512
iffamily 12 2K 2K127753K 12 0 0 128
Memory Totals: In Use Free Requests
9311K 54K 489068
ITEM SIZE LIMIT USED FREE REQUESTS
PIPE: 192, 0, 4, 81, 4422
SWAPMETA: 160, 95814, 0, 0, 0
unpcb: 160, 0, 114, 36, 279
ripcb: 192, 25330, 5, 37, 5
syncache: 128, 15359, 0, 64, 5
tcpcb: 576, 25330, 23, 12, 32
udpcb: 192, 25330, 14, 28, 255
socket: 256, 25330, 246, 26, 819
KNOTE: 96, 0, 27, 57, 71
NFSNODE: 352, 0, 0, 0, 0
NFSMOUNT: 544, 0, 0, 0, 0
VNODE: 224, 0, 2778, 43, 2778
NAMEI: 1024, 0, 0, 8, 40725
VMSPACE: 192, 0, 57, 71, 3906
PROC: 448, 0, 73, 17, 3923
DP fakepg: 64, 0, 0, 0, 0
PV ENTRY: 28, 499566, 44530, 152053, 1525141
MAP ENTRY: 48, 0, 1439, 134, 351075
KMAP ENTRY: 48, 35645, 179, 119, 10904
MAP: 108, 0, 7, 3, 7
VM OBJECT: 92, 0, 2575, 109, 66912
792644 cpu context switches
9863474 device interrupts
286510 software interrupts
390851 traps
3596829 system calls
16 kernel threads created
3880 fork() calls
27 vfork() calls
0 rfork() calls
0 swap pager pageins
0 swap pager pages paged in
0 swap pager pageouts
0 swap pager pages paged out
380 vnode pager pageins
395 vnode pager pages paged in
122 vnode pager pageouts
1476 vnode pager pages paged out
0 page daemon wakeups
0 pages examined by the page daemon
101 pages reactivated
161722 copy-on-write faults
0 copy-on-write optimized faults
84623 zero fill pages zeroed
83063 zero fill pages prezeroed
7 intransit blocking page faults
535606 total VM faults taken
0 pages affected by kernel thread creation
238254 pages affected by fork()
2535 pages affected by vfork()
0 pages affected by rfork()
283379 pages freed
0 pages freed by daemon
190091 pages freed by exiting processes
17458 pages active
29166 pages inactive
0 pages in VM cache
10395 pages wired down
134610 pages free
4096 bytes per page
183419 total name lookups
cache hits (90% pos + 7% neg) system 0% per-directory
deletions 0%, falsehits 0%, toolong 0%
interrupt total rate
ata0 irq14 113338 3
mux irq7 727643 21
fxp1 irq10 1178671 34
sio0 irq4 833 0
clk irq0 3439769 99
rtc irq8 4403221 127
Total 9863475 286
show system virtual-memory scc (TX Matrix Router)
user@host> show system virtual-memory scc
Memory statistics by bucket size
Size In Use Free Requests HighWater Couldfree
16 898 126 749493 1280 0
32 2018 1310 980643 640 632
64 3490 13342 935420 320 5365
...
Memory usage type by bucket size
Size Type(s)
16 uc_devlist, COS, BPF, DEVFS mount, DEVFS node, vnodes, mount, pcb,
soname, rman, bus, sysctl, ifstate, pfe_ipc, mkey, socket, rtable,
ifmaddr, ipfw, rnode, iftable, temp, devbuf, atexit, proc-args, kld,
MD disk
32 atkbddev, Gzip trees, dirrem, mkdir, diradd, freefile, freefrag,
indirdep, bmsafemap, newblk, tseg_qent, COS, vnodes,
...
Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
isadev 12 1K 1K166400K 12 0 0 64
atkbddev 2 1K 1K166400K 2 0 0 32
uc_devlist 24 3K 3K166400K 24 0 0 16,2K
....
Memory Totals: In Use Free Requests
6091K 1554K 2897122
show system virtual-memory sfc (TX Matrix Plus Router)
user@host> show system virtual-memory sfc 0sfc0-re0: -------------------------------------------------------------------------- Hostname: aj Model: txp JUNOS Base OS boot [9.6-20090519.0] JUNOS Base OS Software Suite [9.6-20090519.0] JUNOS Kernel Software Suite [9.6-20090519.0] JUNOS Crypto Software Suite [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (M/T Common) [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (T-Series) [9.6-20090519.0] JUNOS Online Documentation [9.6-20090519.0] JUNOS Voice Services Container package [9.6-20090519.0] JUNOS Border Gateway Function package [9.6-20090519.0] JUNOS Services AACL Container package [9.6-20090519.0] JUNOS Services LL-PDF Container package [9.6-20090519.0] JUNOS Services Stateful Firewall [9.6-20090519.0] JUNOS AppId Services [9.6-20090519.0] JUNOS IDP Services [9.6-20090519.0] JUNOS Routing Software Suite [9.6-20090519.0] lcc0-re0: -------------------------------------------------------------------------- Hostname: lj Model: t1600 JUNOS Base OS boot [9.6-20090519.0] JUNOS Base OS Software Suite [9.6-20090519.0] JUNOS Kernel Software Suite [9.6-20090519.0] JUNOS Crypto Software Suite [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (M/T Common) [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (T-Series) [9.6-20090519.0] JUNOS Online Documentation [9.6-20090519.0] JUNOS Voice Services Container package [9.6-20090519.0] JUNOS Border Gateway Function package [9.6-20090519.0] JUNOS Services AACL Container package [9.6-20090519.0] JUNOS Services LL-PDF Container package [9.6-20090519.0] JUNOS Services Stateful Firewall [9.6-20090519.0] JUNOS AppId Services [9.6-20090519.0] JUNOS IDP Services [9.6-20090519.0] JUNOS Routing Software Suite [9.6-20090519.0] lcc1-re0: -------------------------------------------------------------------------- Hostname: mj Model: t1600 JUNOS Base OS boot [9.6-20090519.0] JUNOS Base OS Software Suite [9.6-20090519.0] JUNOS Kernel Software Suite [9.6-20090519.0] JUNOS Crypto Software Suite [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (M/T Common) [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (T-Series) [9.6-20090519.0] JUNOS Online Documentation [9.6-20090519.0] JUNOS Voice Services Container package [9.6-20090519.0] JUNOS Border Gateway Function package [9.6-20090519.0] JUNOS Services AACL Container package [9.6-20090519.0] JUNOS Services LL-PDF Container package [9.6-20090519.0] JUNOS Services Stateful Firewall [9.6-20090519.0] JUNOS AppId Services [9.6-20090519.0] JUNOS IDP Services [9.6-20090519.0] JUNOS Routing Software Suite [9.6-20090519.0] lcc2-re0: -------------------------------------------------------------------------- Hostname: pj Model: t1600 JUNOS Base OS boot [9.6-20090519.0] JUNOS Base OS Software Suite [9.6-20090519.0] JUNOS Kernel Software Suite [9.6-20090519.0] JUNOS Crypto Software Suite [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (M/T Common) [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (T-Series) [9.6-20090519.0] JUNOS Online Documentation [9.6-20090519.0] JUNOS Voice Services Container package [9.6-20090519.0] JUNOS Border Gateway Function package [9.6-20090519.0] JUNOS Services AACL Container package [9.6-20090519.0] JUNOS Services LL-PDF Container package [9.6-20090519.0] JUNOS Services Stateful Firewall [9.6-20090519.0] JUNOS AppId Services [9.6-20090519.0] JUNOS IDP Services [9.6-20090519.0] JUNOS Routing Software Suite [9.6-20090519.0] lcc3-re0: -------------------------------------------------------------------------- Hostname: tj Model: t1600 JUNOS Base OS boot [9.6-20090519.0] JUNOS Base OS Software Suite [9.6-20090519.0] JUNOS Kernel Software Suite [9.6-20090519.0] JUNOS Crypto Software Suite [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (M/T Common) [9.6-20090519.0] JUNOS Packet Forwarding Engine Support (T-Series) [9.6-20090519.0] JUNOS Online Documentation [9.6-20090519.0] JUNOS Voice Services Container package [9.6-20090519.0] JUNOS Border Gateway Function package [9.6-20090519.0] JUNOS Services AACL Container package [9.6-20090519.0] JUNOS Services LL-PDF Container package [9.6-20090519.0] JUNOS Services Stateful Firewall [9.6-20090519.0] JUNOS AppId Services [9.6-20090519.0] JUNOS IDP Services [9.6-20090519.0] JUNOS Routing Software Suite [9.6-20090519.0]