/proc/vmstat 詳解


參考

#cat /proc/vmstat
nr_free_pages 20223354
nr_alloc_batch 899
nr_inactive_anon 393025
nr_active_anon 808058  
nr_inactive_file 1639308
nr_active_file 1026244
nr_unevictable 0
nr_mlock 0
nr_anon_pages 33812
nr_mapped 32819
nr_file_pages 3733000
nr_dirty 65
nr_writeback 0
nr_slab_reclaimable 334931
nr_slab_unreclaimable 26922
nr_page_table_pages 7012
nr_kernel_stack 915
nr_unstable 0
nr_bounce 0
nr_vmscan_write 5812807
nr_vmscan_immediate_reclaim 5539
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 1067448
nr_dirtied 3433782
nr_written 9211885
numa_hit 3168851306
numa_miss 0
numa_foreign 0
numa_interleave 67441
numa_local 3168851306
numa_other 0
workingset_refault 29351
workingset_activate 6715
workingset_nodereclaim 0
nr_anon_transparent_hugepages 195
nr_free_cma 0
nr_dirty_threshold 4549598
nr_dirty_background_threshold 2274799
pgpgin 36054419        #從啟動到現在讀入的內存頁數
pgpgout 45830912  
pswpin 8101573   #從啟動到現在讀入的交換分區頁數
pswpout 5812807
pgalloc_dma 0
pgalloc_dma32 161404306
pgalloc_normal 3979543730
pgalloc_movable 0
pgfree 4161177252    	 #從啟動到現在釋放的頁數
pgactivate 11895760  	 #從啟動到現在激活的頁數
pgdeactivate 12364831   #從啟動到現在去激活的頁數
pgfault 9456580348      #從啟動到現在二級頁面錯誤數
pgmajfault 1038166      #從啟動到現在一級頁面錯誤數
pgrefill_dma 0
pgrefill_dma32 335375
pgrefill_normal 11804406
pgrefill_movable 0
pgsteal_kswapd_dma 0
pgsteal_kswapd_dma32 0
pgsteal_kswapd_normal 0
pgsteal_kswapd_movable 0
pgsteal_direct_dma 0
pgsteal_direct_dma32 0
pgsteal_direct_normal 0			
pgsteal_direct_movable 0
pgscan_kswapd_dma 0			#從啟動到現在kswapd后台進程掃描的DMA存儲區頁面數
pgscan_kswapd_dma32 0
pgscan_kswapd_normal 0			 #從啟動到現在kswapd后台進程掃描的普通存儲區頁面數
pgscan_kswapd_movable 0
pgscan_direct_dma 0				#從啟動到現在DMA存儲區被直接回收的頁面數
pgscan_direct_dma32 0
pgscan_direct_normal 0			#從啟動到現在普通存儲區被直接回收的頁面數
pgscan_direct_movable 0
pgscan_direct_throttle 0
zone_reclaim_failed 0
pginodesteal 0
slabs_scanned 0				#從啟動到現在被掃描的切片數
kswapd_inodesteal 0			#從啟動到現在由kswapd回收用於其它目的的頁面數
kswapd_low_wmark_hit_quickly 64
kswapd_high_wmark_hit_quickly 0
pageoutrun 1					#從啟動到現在通過kswapd調用來回收的頁面數
allocstall 0					#從啟動到現在請求直接回收的頁面數
pgrotated 5766223
drop_pagecache 0
drop_slab 0
numa_pte_updates 0
numa_huge_pte_updates 0
numa_hint_faults 0
numa_hint_faults_local 0
numa_pages_migrated 0
pgmigrate_success 0
pgmigrate_fail 0
compact_migrate_scanned 0
compact_free_scanned 0		
compact_isolated 0
compact_stall 0				#compact_stall is incremented every time a process stalls to run memory compaction so that a huge page is free for use.
compact_fail 0			#compact_fail is incremented if the system tries to compact memory but failed.
compact_success 0			#compact_success is incremented if the system compacted memory and
htlb_buddy_alloc_success 0
htlb_buddy_alloc_fail 0
unevictable_pgs_culled 0
unevictable_pgs_scanned 0
unevictable_pgs_rescued 0
unevictable_pgs_mlocked 0
unevictable_pgs_munlocked 0
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
thp_fault_alloc 1662087
thp_fault_fallback 7594
thp_collapse_alloc 1032
thp_collapse_alloc_failed 0
thp_split 1677
thp_zero_page_alloc 1
thp_zero_page_alloc_failed 0

REF

https://www.kernel.org/doc/Documentation/vm/transhuge.txt


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM