VM_STAT(1)
π VM_STAT(1) π
okay so bestie, this page is VM_STAT(1) from the General Commands Manual, and the command at the center of it all is vm_stat. It's giving Mach virtual memory statistics, and honestly? iconic.
π NAME π
vm_stat β show Mach virtual memory statistics. periodt.
β¨ SYNOPSIS β¨
vm_stat [[-c count] interval]
π¦ DESCRIPTION π¦
vm_stat displays Mach virtual memory statistics. No cap. If the optional interval is specified, then vm_stat will display the statistics every interval seconds. In this case, each line of output displays the change in each statistic (an interval count of 1 displays the values per second). However, the first line of output following each banner displays the system-wide totals for each statistic. If a count is provided β that's the -c count from the synopsis β the command will terminate after count intervals. The following values are displayed:
- Pages free β the total number of free pages in the system.
- Pages active β the total number of pages currently in use and pageable.
- Pages inactive β the total number of pages on the inactive list.
- Pages speculative β the total number of pages on the speculative list.
- Pages throttled β the total number of pages on the throttled list (not wired but not pageable).
- Pages wired down β the total number of pages wired down. That is, pages that cannot be paged out.
- Pages purgeable β the total number of purgeable pages.
- Translation faults β the number of times the
"vm_fault"routine has been called. - Pages copy-on-write β the number of faults that caused a page to be copied (generally caused by copy-on-write faults).
- Pages zero filled β the total number of pages that have been zero-filled on demand.
- Pages reactivated β the total number of pages that have been moved from the inactive list to the active list (reactivated).
- Pages purged β the total number of pages that have been purged.
- File-backed pages β the total number of pages that are file-backed (non-swap).
- Anonymous pages β the total number of pages that are anonymous.
- Uncompressed pages β the total number of pages (uncompressed) held within the compressor.
- Pages used by VM compressor: the number of pages used to store compressed VM pages.
- Pages decompressed β the total number of pages that have been decompressed by the VM compressor.
- Pages compressed β the total number of pages that have been compressed by the VM compressor.
- Pageins β the total number of requests for pages from a pager (such as the inode pager).
- Pageouts β the total number of pages that have been paged out.
- Swapins β the total number of compressed pages that have been swapped back in from disk.
- Swapouts β the total number of compressed pages that have been swapped out to disk.
If interval is not specified, then vm_stat displays all accumulated statistics along with the page size. Slay.
Signed, sealed, delivered β this page is from macOS, dated August 13, 1997. Mwah π
π¦ where this page comes from
- nixpkgs unstable: system_cmds 1042.100.6.0.1
- Copyright (c) 1997, Apple Computer, Inc. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms