This file shows detailed virtual memory statistics from the kernel. Most of the counters explained below are available only if you have kernel compiled with VM_EVENT_COUNTERS config option turned on. That's so because most of the parameters below have no function for the kernel itself, but are useful for debugging and statistics purposes.
Number of pages that are dirty, under writeback or unstable:
nr_dirty 1550
nr_writeback 0
nr_unstable 0
nr_page_table_pages 699
nr_mapped 139596
nr_slab 42723
pgpgin 33754195
pgpgout 38985992
(disk io 监控可以从这两个值分析到,如读取/proc/vmstat文件得出最近240秒内pgpgin的增量,把pgpgin的增量再除以240得到每秒的平均增量,即为平均每秒把数据从硬盘读到物理内存的数据量。pgpgout同理,可以得出平均每秒把数据从物理内存写到硬盘的数据量。
)
pswpin 2473
pswpout 2995
(
swap si/so,平均每秒把数据从磁盘交换区装入内存的数据量,可以这么计算:读取/proc/vmstat文件得出最近240秒内pswpin的增量,把pswpin的增量再除以240得到每秒的平均增量。同理可以计算:平均每秒把数据从内存转储到磁盘交换区的数据量
)
pgalloc_high 0
pgalloc_normal 110123213
pgalloc_dma32 0
pgalloc_dma 415219
pgfree 110549163
pgactivate 4509729
pgdeactivate 2136215
pgfault 80663722
pgmajfault 49813
pgrefill_high 0
pgrefill_normal 5817500
pgrefill_dma32 0
pgrefill_dma 149176
pgsteal_high 0
pgsteal_normal 10421346
pgsteal_dma32 0
pgsteal_dma 142196
pgscan_kswapd_high 0
pgscan_kswapd_normal 10491424
pgscan_kswapd_dma32 0
pgscan_kswapd_dma 156130
pgscan_direct_high 0
pgscan_direct_normal 11904
pgscan_direct_dma32 0
pgscan_direct_dma 225
pginodesteal 11
slabs_scanned 8926976
kswapd_steal 10551674
kswapd_inodesteal 338730
pageoutrun 181908
allocstall 160
pgrotated 3781
nr_bounce 0