show system virtual-memory
構文
show system virtual-memory
構文(EX シリーズ)
show system virtual-memory <all-members> <local> <member member-id>
構文(TX マトリクス ルーター)
show system virtual-memory <all-chassis | all-lcc | lcc number | scc>
構文(TX マトリクス プラス ルーター)
show system virtual-memory <all-chassis | all-lcc | lcc number | sfc number>
構文(MX シリーズ ルーター)
show system virtual-memory <all-members> <local> <member member-id>
構文(QFX シリーズ)
show system virtual-memory <infrastructure name> <interconnect-device name> <node-group name>
構文(Junos OS Evolved)
show system virtual-memory <node node-name>
説明
最初にリストされている Junos OS カーネル メモリの使用状況を、割り当てのサイズ別、次に使用量のタイプ別に表示します。コマンドを show system virtual-memory
使用して、ジュニパーネットワークスのカスタマーサポートでトラブルシューティングを行います。
オプション
なし | カーネルの動的メモリ使用率情報を表示します。 |
オールシャーシ | (TX マトリクス ルーターおよび TX マトリクス プラス ルーターのみ)(オプション)すべてのシャーシのカーネル動的メモリ使用率情報を表示します。 |
オール lcc | (TX マトリクス ルーターおよび TX マトリクス プラス ルーターのみ)(オプション)TXマトリクス ルーターで、TX マトリクス ルーターに接続されたすべての T640 ルーターのカーネル動的メモリ使用情報を表示します。TX マトリクス プラス ルーターで、接続されたすべての T1600 または T4000 LCC のカーネル 動的メモリ使用情報を表示します。 |
すべてのメンバー | (EX4200スイッチとMXシリーズルーターのみ)(オプション)バーチャル シャーシ構成のすべてのメンバーのカーネル 動的メモリ使用情報を表示します。 |
インフラストラクチャ name | (QFabric システムのみ)(オプション)ファブリックコントロールルーティングエンジンとファブリックマネージャールーティングエンジンのカーネル動的メモリ使用情報を表示します。 |
相互接続デバイス name | (QFabric システムのみ)(オプション)Interconnectデバイスのカーネル動的メモリ使用情報を表示します。 |
Lcc number | (TX マトリクス ルーターおよび TX マトリクス プラス ルーターのみ)(オプション)TXマトリクス ルーターで、TX マトリクス ルーターに接続されている特定の T640 ルーターのカーネル動的メモリ使用情報を表示します。TXマトリクス プラス ルーターで、TX マトリクス プラス ルーターに接続されている特定のルーターのカーネル 動的メモリ使用情報を表示します。 LCC 設定に応じて、次の値に置き換えます number 。
|
地元の | (EX4200スイッチとMXシリーズルーターのみ)(オプション)ローカルバーチャルシャーシメンバーのカーネルダイナミックメモリ使用情報を表示します。 |
メンバー member-id | (EX4200スイッチとMXシリーズルーターのみ)(オプション)バーチャル シャーシ構成の指定されたメンバーのカーネル 動的メモリ使用情報を表示します。EX4200 スイッチの場合は、0~9 の値に置き換えます |
node node-name |
(Junos OS Evolvedのみ)(オプション)指定されたノードのカーネル メモリ情報を表示します。ノードが指定されていない場合は、すべてのノードの情報が表示されます。 |
node-group name | (QFabric システムのみ)(オプション)Node グループのカーネル動的メモリ使用情報を表示します。 |
Scc | (TX マトリクス ルーターのみ)(オプション)TX マトリクス ルーター(またはスイッチカード シャーシ)のカーネル 動的メモリ使用情報を表示します。 |
Sfc number | (TX マトリクス プラス ルーターのみ)(オプション)TX マトリクス プラス ルーターのカーネル 動的メモリ使用情報を表示します。0 に置き換えます |
その他の情報
デフォルトでは、TX マトリクス ルーターまたは TX マトリクス プラス ルーターのプライマリ ルーティング エンジンでコマンドを発行 show system virtual-memory
すると、このコマンドはルーティング マトリクス内で接続されている LCC のすべてのプライマリ ルーティング エンジンにブロードキャストされます。同様に、TX マトリクスまたは TX マトリクス プラス ルーターのバックアップ ルーティング エンジンで同じコマンドを発行した場合、このコマンドはルーティング マトリクス内で接続されているLCCのすべてのバックアップ ルーティング エンジンにブロードキャストされます。
パイプ オプションを持つコマンドはshow system virtual-memory
、親タグのコマンドの XML 出力を表示するようになりました。 <vmstat-memstat-malloc>
<vmstat-intr>
<vmstat-memstat-zone>
<vmstat-sumstat>
<vmstat-kernel-state>
| display XML
Junos OSリリース10.1以前では、このコマンドの| display XML
オプションにはXML API要素がなく、出力全体が単一<output>
のタグ要素に表示されます。
kernel direct memory map
64 ビット プラットフォームの場合のみ表示されます。
必須権限レベル
ビュー
出力フィールド
表 1 は、コマンドの出力フィールドをshow system virtual-memory
示しています。出力フィールドは、表示される概算順にリストされます。
フィールド名 |
フィールドの説明 |
---|---|
バケット サイズ別のメモリ統計 | |
|
メモリ ブロック サイズ(バイト)。カーネル メモリ アロケーターは、サイズが 2 のパワーであるメモリのブロックを適切に設定します。 |
|
使用中のこのサイズのメモリ ブロック数(バイト)。 |
|
このサイズの空きメモリ ブロックの数(バイト)。 |
|
作成されたメモリ割り当て要求の数。 |
|
フリー リストに含められる最大値。システムが物理メモリの再利用を開始すると、空きリストがこの値に増えるまで続きます。 |
|
バケットサイズの空き要素がそのバケットサイズの最高水準点を超えた合計回数。 |
バケットサイズ別メモリ使用量タイプ | |
|
メモリ ブロック サイズ(バイト)。 |
|
これらのメモリブロックを使用しているカーネルモジュール。各タイプの定義については、FreeBSD ガイドを参照してください。 |
メモリ統計(タイプ別) | |
|
動的メモリを使用しているカーネル モジュール。 |
|
このタイプで使用されるメモリ ブロックの数。数値は切り上げられます。 |
|
使用中のメモリ量(KB)、キロバイト単位。 |
|
このタイプで使用された最大メモリ。 |
|
この型に割り当てることができる最大メモリ。 |
|
このタイプが行った動的メモリー割り振り要求の合計数。 |
|
最大制限に達するために要求がブロックされた回数。 |
|
カーネル マップに対するリクエストがブロックされた回数。 |
|
このタイプが使用しているメモリ ブロック サイズ。 |
メモリ合計 | |
|
使用中のカーネル動的メモリの合計(バイト、切り上げ)。 |
|
カーネル動的メモリフリー(バイト、切り上げ)の合計。 |
|
メモリ割り当て要求の合計数。 |
|
メモリを使用しているカーネル モジュール。 |
|
メモリ ブロック サイズ(バイト)。 |
|
この型に割り当てることができる最大メモリ。 |
|
このタイプで使用されるメモリ ブロックの数。数値は切り上げられます。 |
|
このタイプで使用可能なメモリ ブロックの数。 |
|
このタイプが行ったメモリー割り振り要求の合計数。 |
|
タイマー イベントとスケジューリング中断。 |
|
各タイプの中断の合計数。 |
|
中断率。 |
|
すべての中断の合計。 |
サンプル出力
show system virtual-memory
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 Kernel direct memory map: 4423 pages used 4057340 pages maximum
リリース情報
Junos OS リリース 7.4 より前に導入されたコマンド。
sfc
Junos OSリリース9.6のTXマトリクスプラスルーターに導入されたオプションです。
node
Junos OS Evolvedリリース18.3R1で導入されたオプションです。