zoukankan      html  css  js  c++  java
  • /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

  • 相关阅读:
    spring事务管理中,使用Synchronized修饰事务方法,同步为什么会失效
    java枚举类是怎么初始化的,为什么说枚举类是线程安全的
    spring事务管理中,同一个Service类中非事务方法调用事务方法,事务失效解决方法(3种)
    spring boot借助freemarker实现word文档模板导出
    mybatis plus使用报错:Caused by: java.sql.SQLException: sql injection violation, syntax error: syntax err
    js中遍历枚举类型
    IDEA 设置SVN提交忽略文件 target .iml
    python中的open( )函数
    使用crf++
    安装crf++
  • 原文地址:https://www.cnblogs.com/muahao/p/6774254.html
Copyright © 2011-2022 走看看