上面信息来自tcp/ip协议详解卷二,该命令在linux下仍适用,下面是我在debian上使用结果
vmstat -m
Cache Num Total Size Pages
nfsd4_delegations 0 0 264 15
nfsd4_stateowners 0 0 424 19
nfs_direct_cache 0 0 128 32
nfs_inode_cache 0 0 1032 15
fscache_cookie_jar 51 51 80 51
rpc_inode_cache 19 19 832 19
fuse_request 0 0 632 25
fuse_inode 0 0 768 10
ext4_inode_cache 2096 2096 984 8
ext4_xattr 0 0 88 46
ext4_free_block_extents 73 73 56 73
ext4_alloc_context 28 28 144 28
ext4_prealloc_space 39 39 104 39
ext4_system_zone 0 0 40 102
jbd2_journal_handle 170 170 24 170
jbd2_journal_head 37 72 112 36
jbd2_revoke_table 256 256 16 256
jbd2_revoke_record 128 128 32 128
kmalloc_dma-512 8 8 512 8
ip6_dst_cache 12 12 320 12
UDPLITEv6 0 0 1024 8
UDPv6 8 8 1024 8
tw_sock_TCPv6 0 0 320 12
TCPv6 17 17 1856 17
cfq_io_context 30 30 136 30
cfq_queue 18 18 216 18
bsg_cmd 0 0 312 13
mqueue_inode_cache 9 9 896 9
Cache Num Total Size Pages
hugetlbfs_inode_cache 13 13 616 13
dquot 0 0 256 16
ksm_mm_slot 0 0 56 73
posix_timers_cache 0 0 176 23
UDP-Lite 0 0 832 19
RAW 100 100 768 10
UDP 19 19 832 19
tw_sock_TCP 0 0 256 16
TCP 19 19 1664 19
blkdev_queue 14 14 2256 14
blkdev_requests 20 24 336 12
fsnotify_event 39 39 104 39
bip-256 7 7 4224 7
bip-128 0 0 2176 15
bip-64 0 0 1152 14
bip-16 20 20 384 10
sock_inode_cache 87 88 704 11
file_lock_cache 22 22 184 22
net_namespace 0 0 2112 15
shmem_inode_cache 589 590 808 10
Acpi-ParseExt 1511 1512 72 56
task_delay_info 247 252 112 36
taskstats 12 12 328 12
proc_inode_cache 381 396 648 12
sigqueue 27 50 160 25
radix_tree_node 1386 1386 560 14
bdev_cache 19 19 832 19
sysfs_dir_cache 7697 7701 80 51
Cache Num Total Size Pages
inode_cache 2298 2301 600 13
dentry 7684 7686 192 21
buffer_head 5148 5148 112 36
vm_area_struct 2192 2200 184 22
mm_struct 32 36 896 9
files_cache 63 77 704 11
sighand_cache 73 90 2112 15
task_struct 148 153 1808 9
anon_vma 768 768 32 128
shared_policy_node 85 85 48 85
numa_policy 170 170 24 170
idr_layer_cache 210 210 544 15
kmalloc-8192 12 12 8192 4
kmalloc-4096 61 72 4096 8
kmalloc-2048 133 136 2048 8
kmalloc-1024 522 560 1024 8
kmalloc-512 547 552 512 8
kmalloc-256 946 992 256 16
kmalloc-128 366 384 128 32
kmalloc-64 2578 2624 64 64
kmalloc-32 1023 1024 32 128
kmalloc-16 2548 2560 16 256
kmalloc-8 3582 3584 8 512
kmalloc-192 970 1029 192 21
kmalloc-96 1316 1344 96 42
kmem_cache_node 0 0 64 64
gwtt@gwtt-vm:~$