If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:vmstat (procfs)

From BoxMatrix


BoxMatrix >> System >> vmstat (procfs) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Devices Filesystems Partitions Sockets Netlink Pipes Interfaces Bridges Ports Events Sources Sinks AVMIPC Processes Watchdogs Memory Slab Vmalloc ProcFS SysFS Research

Info
  
Name-Collision - multiple objects in this wiki use the name vmstat!
vmstat (process) TODO
vmstat (procfs) Various virtual memory statistics.

Procfs-Object

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Help Supportdata2   -   SMW-Browser

Details

vmstat lists various virtual memory statistics.

Supportdata2 includes vmstat in the Meminfo section since sd2-09.
In Supportdata-Probes it was never included (up to fw 7.39).

Excerpt from the proc(5) man page:

/proc/vmstat (since Linux 2.6.0)

       This file displays various virtual memory statistics.
       Each line of this file contains a single name-value pair,
       delimited by white space.  Some lines are present only if
       the kernel was configured with suitable options.  (In some
       cases, the options required for particular files have
       changed across kernel versions, so they are not listed
       here.  Details can be found by consulting the kernel
       source code.)  The following fields may be present:

       nr_free_pages (since Linux 2.6.31)

       nr_alloc_batch (since Linux 3.12)

       nr_inactive_anon (since Linux 2.6.28)

       nr_active_anon (since Linux 2.6.28)

       nr_inactive_file (since Linux 2.6.28)

       nr_active_file (since Linux 2.6.28)

       nr_unevictable (since Linux 2.6.28)

       nr_mlock (since Linux 2.6.28)

       nr_anon_pages (since Linux 2.6.18)

       nr_mapped (since Linux 2.6.0)

       nr_file_pages (since Linux 2.6.18)

       nr_dirty (since Linux 2.6.0)

       nr_writeback (since Linux 2.6.0)

       nr_slab_reclaimable (since Linux 2.6.19)

       nr_slab_unreclaimable (since Linux 2.6.19)

       nr_page_table_pages (since Linux 2.6.0)

       nr_kernel_stack (since Linux 2.6.32)
              Amount of memory allocated to kernel stacks.

       nr_unstable (since Linux 2.6.0)

       nr_bounce (since Linux 2.6.12)

       nr_vmscan_write (since Linux 2.6.19)

       nr_vmscan_immediate_reclaim (since Linux 3.2)

       nr_writeback_temp (since Linux 2.6.26)

       nr_isolated_anon (since Linux 2.6.32)

       nr_isolated_file (since Linux 2.6.32)

       nr_shmem (since Linux 2.6.32)
              Pages used by shmem and tmpfs(5).

       nr_dirtied (since Linux 2.6.37)

       nr_written (since Linux 2.6.37)

       nr_pages_scanned (since Linux 3.17)

       numa_hit (since Linux 2.6.18)

       numa_miss (since Linux 2.6.18)

       numa_foreign (since Linux 2.6.18)

       numa_interleave (since Linux 2.6.18)

       numa_local (since Linux 2.6.18)

       numa_other (since Linux 2.6.18)

       workingset_refault (since Linux 3.15)

       workingset_activate (since Linux 3.15)

       workingset_nodereclaim (since Linux 3.15)

       nr_anon_transparent_hugepages (since Linux 2.6.38)

       nr_free_cma (since Linux 3.7)
              Number of free CMA (Contiguous Memory Allocator)
              pages.

       nr_dirty_threshold (since Linux 2.6.37)

       nr_dirty_background_threshold (since Linux 2.6.37)

       pgpgin (since Linux 2.6.0)

       pgpgout (since Linux 2.6.0)

       pswpin (since Linux 2.6.0)

       pswpout (since Linux 2.6.0)

       pgalloc_dma (since Linux 2.6.5)

       pgalloc_dma32 (since Linux 2.6.16)

       pgalloc_normal (since Linux 2.6.5)

       pgalloc_high (since Linux 2.6.5)

       pgalloc_movable (since Linux 2.6.23)

       pgfree (since Linux 2.6.0)

       pgactivate (since Linux 2.6.0)

       pgdeactivate (since Linux 2.6.0)

       pgfault (since Linux 2.6.0)

       pgmajfault (since Linux 2.6.0)

       pgrefill_dma (since Linux 2.6.5)

       pgrefill_dma32 (since Linux 2.6.16)

       pgrefill_normal (since Linux 2.6.5)

       pgrefill_high (since Linux 2.6.5)

       pgrefill_movable (since Linux 2.6.23)

       pgsteal_kswapd_dma (since Linux 3.4)

       pgsteal_kswapd_dma32 (since Linux 3.4)

       pgsteal_kswapd_normal (since Linux 3.4)

       pgsteal_kswapd_high (since Linux 3.4)

       pgsteal_kswapd_movable (since Linux 3.4)

       pgsteal_direct_dma

       pgsteal_direct_dma32 (since Linux 3.4)

       pgsteal_direct_normal (since Linux 3.4)

       pgsteal_direct_high (since Linux 3.4)

       pgsteal_direct_movable (since Linux 2.6.23)

       pgscan_kswapd_dma

       pgscan_kswapd_dma32 (since Linux 2.6.16)

       pgscan_kswapd_normal (since Linux 2.6.5)

       pgscan_kswapd_high

       pgscan_kswapd_movable (since Linux 2.6.23)

       pgscan_direct_dma

       pgscan_direct_dma32 (since Linux 2.6.16)

       pgscan_direct_normal

       pgscan_direct_high

       pgscan_direct_movable (since Linux 2.6.23)

       pgscan_direct_throttle (since Linux 3.6)

       zone_reclaim_failed (since linux 2.6.31)

       pginodesteal (since linux 2.6.0)

       slabs_scanned (since linux 2.6.5)

       kswapd_inodesteal (since linux 2.6.0)

       kswapd_low_wmark_hit_quickly (since 2.6.33)

       kswapd_high_wmark_hit_quickly (since 2.6.33)

       pageoutrun (since Linux 2.6.0)

       allocstall (since Linux 2.6.0)

       pgrotated (since Linux 2.6.0)

       drop_pagecache (since Linux 3.15)

       drop_slab (since Linux 3.15)

       numa_pte_updates (since Linux 3.8)

       numa_huge_pte_updates (since Linux 3.13)

       numa_hint_faults (since Linux 3.8)

       numa_hint_faults_local (since Linux 3.8)

       numa_pages_migrated (since Linux 3.8)

       pgmigrate_success (since Linux 3.8)

       pgmigrate_fail (since Linux 3.8)

       compact_migrate_scanned (since Linux 3.8)

       compact_free_scanned (since Linux 3.8)

       compact_isolated (since Linux 3.8)

       compact_stall (since Linux 2.6.35)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       compact_fail (since Linux 2.6.35)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       compact_success (since Linux 2.6.35)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       htlb_buddy_alloc_success (since Linux 2.6.26)

       htlb_buddy_alloc_fail (since Linux 2.6.26)

       unevictable_pgs_culled (since Linux 2.6.28)

       unevictable_pgs_scanned (since Linux 2.6.28)

       unevictable_pgs_rescued (since Linux 2.6.28)

       unevictable_pgs_mlocked (since Linux 2.6.28)

       unevictable_pgs_munlocked (since Linux 2.6.28)

       unevictable_pgs_cleared (since Linux 2.6.28)

       unevictable_pgs_stranded (since Linux 2.6.28)

       thp_fault_alloc (since Linux 2.6.39)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       thp_fault_fallback (since Linux 2.6.39)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       thp_collapse_alloc (since Linux 2.6.39)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       thp_collapse_alloc_failed (since Linux 2.6.39)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       thp_split (since Linux 2.6.39)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       thp_zero_page_alloc (since Linux 3.8)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       thp_zero_page_alloc_failed (since Linux 3.8)
              See the kernel source file
              Documentation/admin-guide/mm/transhuge.rst.

       balloon_inflate (since Linux 3.18)

       balloon_deflate (since Linux 3.18)

       balloon_migrate (since Linux 3.18)

       nr_tlb_remote_flush (since Linux 3.12)

       nr_tlb_remote_flush_received (since Linux 3.12)

       nr_tlb_local_flush_all (since Linux 3.12)

       nr_tlb_local_flush_one (since Linux 3.12)

       vmacache_find_calls (since Linux 3.16)

       vmacache_find_hits (since Linux 3.16)

       vmacache_full_flushes (since Linux 3.19)

Examples

7530 fw 7.29 example:

root@fritz1:/var/mod/root# cat /proc/vmstat

nr_free_pages 5878
nr_alloc_batch 229
nr_inactive_anon 337
nr_active_anon 10847
nr_inactive_file 5252
nr_active_file 11271
nr_unevictable 2113
nr_mlock 2113
nr_anon_pages 10203
nr_mapped 6801
nr_file_pages 19610
nr_dirty 0
nr_writeback 0
nr_slab_reclaimable 11496
nr_slab_unreclaimable 0
nr_page_table_pages 380
nr_kernel_stack 206
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_vmscan_immediate_reclaim 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 1791
nr_dirtied 7133277
nr_written 7133138
nr_pages_scanned 0
workingset_refault 6839
workingset_activate 642
workingset_nodereclaim 106646
nr_anon_transparent_hugepages 0
nr_free_cma 0
nr_indirectly_reclaimable 0
nr_dirty_threshold 3865
nr_dirty_background_threshold 1930
pgpgin 301676
pgpgout 28522171
pswpin 0
pswpout 0
pgalloc_normal 177174183
pgalloc_high 0
pgalloc_movable 0
pgfree 177180367
pgactivate 201581
pgdeactivate 10603
pgfault 19236331
pgmajfault 524
pgrefill_normal 13862
pgrefill_high 0
pgrefill_movable 0
pgsteal_kswapd_normal 7143508
pgsteal_kswapd_high 0
pgsteal_kswapd_movable 0
pgsteal_direct_normal 0
pgsteal_direct_high 0
pgsteal_direct_movable 0
pgscan_kswapd_normal 7146827
pgscan_kswapd_high 0
pgscan_kswapd_movable 0
pgscan_direct_normal 0
pgscan_direct_high 0
pgscan_direct_movable 0
pgscan_direct_throttle 0
pginodesteal 0
slabs_scanned 342678
kswapd_inodesteal 28687
kswapd_low_wmark_hit_quickly 3
kswapd_high_wmark_hit_quickly 17645
pageoutrun 22804
allocstall 0
pgrotated 0
drop_pagecache 0
drop_slab 0
unevictable_pgs_culled 1678
unevictable_pgs_scanned 45731
unevictable_pgs_rescued 1552376
unevictable_pgs_mlocked 1554489
unevictable_pgs_munlocked 1552376
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0

6490 fw 7.29 example:

root@fritz2:/var/mod/root# cat /proc/vmstat

nr_free_pages 8014
nr_inactive_anon 474
nr_active_anon 9575
nr_inactive_file 18010
nr_active_file 5248
nr_unevictable 2099
nr_mlock 2099
nr_anon_pages 9476
nr_mapped 6027
nr_file_pages 25918
nr_dirty 0
nr_writeback 0
nr_slab_reclaimable 7192
nr_slab_unreclaimable 2170
nr_page_table_pages 285
nr_kernel_stack 160
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 1219
nr_dirtied 25107
nr_written 25107
nr_anon_transparent_hugepages 0
nr_dirty_threshold 8264
nr_dirty_background_threshold 4132
pgpgin 31454
pgpgout 140795
pswpin 0
pswpout 0
pgalloc_dma 0
pgalloc_normal 3196001
pgalloc_movable 0
pgfree 3204138
pgactivate 12976
pgdeactivate 0
pgfault 2563439
pgmajfault 227
pgrefill_dma 0
pgrefill_normal 0
pgrefill_movable 0
pgsteal_dma 0
pgsteal_normal 0
pgsteal_movable 0
pgscan_kswapd_dma 0
pgscan_kswapd_normal 0
pgscan_kswapd_movable 0
pgscan_direct_dma 0
pgscan_direct_normal 0
pgscan_direct_movable 0
pginodesteal 0
slabs_scanned 0
kswapd_steal 0
kswapd_inodesteal 0
kswapd_low_wmark_hit_quickly 0
kswapd_high_wmark_hit_quickly 0
kswapd_skip_congestion_wait 0
pageoutrun 1
allocstall 0
pgrotated 1
unevictable_pgs_culled 1842
unevictable_pgs_scanned 43
unevictable_pgs_rescued 82630
unevictable_pgs_mlocked 84729
unevictable_pgs_munlocked 82630
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
unevictable_pgs_mlockfreed 0

root@fritz2:/var/mod/root# rpc cat /proc/vmstat

nr_free_pages 43071
nr_inactive_anon 1399
nr_active_anon 4659
nr_inactive_file 1555
nr_active_file 927
nr_unevictable 1968
nr_mlock 1968
nr_anon_pages 4120
nr_mapped 2088
nr_file_pages 6393
nr_dirty 0
nr_writeback 0
nr_slab_reclaimable 1315
nr_slab_unreclaimable 1742
nr_page_table_pages 1409
nr_kernel_stack 125
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 1943
nr_dirtied 1
nr_written 1
nr_anon_transparent_hugepages 0
nr_dirty_threshold 10322
nr_dirty_background_threshold 5161
pgpgin 6090
pgpgout 4
pswpin 0
pswpout 0
pgalloc_normal 642178
pgalloc_movable 0
pgfree 685291
pgactivate 13847
pgdeactivate 0
pgfault 843892
pgmajfault 35
pgrefill_normal 0
pgrefill_movable 0
pgsteal_normal 0
pgsteal_movable 0
pgscan_kswapd_normal 0
pgscan_kswapd_movable 0
pgscan_direct_normal 0
pgscan_direct_movable 0
pginodesteal 0
slabs_scanned 0
kswapd_steal 0
kswapd_inodesteal 0
kswapd_low_wmark_hit_quickly 0
kswapd_high_wmark_hit_quickly 0
kswapd_skip_congestion_wait 0
pageoutrun 0
allocstall 0
pgrotated 0
unevictable_pgs_culled 9840
unevictable_pgs_scanned 0
unevictable_pgs_rescued 7872
unevictable_pgs_mlocked 604910
unevictable_pgs_munlocked 7872
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
unevictable_pgs_mlockfreed 0

7150 fw 4.72 example:

root@fritz:/var/mod/root# cat /proc/vmstat

nr_dirty 0
nr_writeback 0
nr_unstable 0
nr_page_table_pages 81
nr_mapped 2749
nr_slab 1324
pgpgin 7601
pgpgout 256
pswpin 0
pswpout 0
pgalloc_high 0
pgalloc_normal 0
pgalloc_dma 727328843
pgfree 727329374
pgactivate 6122
pgdeactivate 2938
pgfault 535603
pgmajfault 100
pgrefill_high 0
pgrefill_normal 0
pgrefill_dma 9968
pgsteal_high 0
pgsteal_normal 0
pgsteal_dma 4383
pgscan_kswapd_high 0
pgscan_kswapd_normal 0
pgscan_kswapd_dma 5148
pgscan_direct_high 0
pgscan_direct_normal 0
pgscan_direct_dma 561
pginodesteal 8
slabs_scanned 6016
kswapd_steal 3960
kswapd_inodesteal 1317
pageoutrun 139
allocstall 11
pgrotated 0
nr_bounce 0

Dependencies

Daily updated index of all dependencies of this object. Last update: GMT.
A ** in the Mod column marks info from Supportdata2 probes, which will always stay incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the Object occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this object

Model-Matrix

Daily updated index of the presence, path and size of this object for each model. Last update: 2024-11-21 05:21 GMT.
Showing all models using this object. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.

Help Supportdata2

The data in this article is incomplete since it was manually collected using the Supportdata2 project.

Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.

It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!

SMW-Browser

Information is currently being retrieved from the backend.