]> git.saurik.com Git - apple/system_cmds.git/blobdiff - vm_stat.tproj/vm_stat.1
system_cmds-735.50.6.tar.gz
[apple/system_cmds.git] / vm_stat.tproj / vm_stat.1
index d68387dfd7d37c77d98f24f674ded2e75f44041e..4697ca9d8908a4edb3f16ea2cc08921289debcff 100644 (file)
@@ -8,7 +8,10 @@
 .Nd show Mach virtual memory statistics
 .Sh SYNOPSIS
 .Nm vm_stat
-.Op Ar interval
+.Oo
+.Op Fl c Ar count
+.Ar interval
+.Oc
 .Sh DESCRIPTION
 .Nm vm_stat 
 displays Mach virtual memory statistics.  If the optional 
@@ -22,7 +25,13 @@ each statistic (an
 .Ar 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.  The following values are displayed:
+each statistic.
+If a
+.Ar count
+is provided, the command will terminate after
+.Ar count
+intervals.
+The following values are displayed:
 .Bl -tag -width indent
 .It Pages free
 the total number of free pages in the system.
@@ -30,9 +39,15 @@ the total number of free pages in the system.
 the total number of pages currently in use and pageable.
 .It Pages inactive
 the total number of pages on the inactive list.
+.It Pages speculative
+the total number of pages on the speculative list.
+.It Pages throttled
+the total number of pages on the throttled list (not wired but not pageable). 
 .It Pages wired down
 the total number of pages wired down.  That is, pages that cannot be
 paged out.
+.It Pages purgeable
+the total number of purgeable pages.
 .It Translation faults
 the number of times the "vm_fault" routine has been called.
 .It Pages copy-on-write
@@ -43,15 +58,32 @@ the total number of pages that have been zero-filled on demand.
 .It Pages reactivated
 the total number of pages that have been moved from the inactive list
 to the active list (reactivated).
+.It Pages purged
+the total number of pages that have been purged.
+.It File-backed pages
+the total number of pages that are file-backed (non-swap)
+.It Anonymous pages
+the total number of pages that are anonymous
+.It Uncompressed pages
+the total number of pages (uncompressed) held within the compressor
+.It Pages used by VM compressor:
+the number of pages used to store compressed VM pages.
+.It Pages decompressed
+the total number of pages that have been decompressed by the VM compressor.
+.It Pages compressed
+the total number of pages that have been compressed by the VM compressor.
 .It Pageins
-the number of requests for pages from a pager (such as the inode pager).
+the total number of requests for pages from a pager (such as the inode pager).
 .It Pageouts
-the number of pages that have been paged out.
+the total number of pages that have been paged out.
+.It Swapins
+the total number of compressed pages that have been swapped out to disk.
+.It Swapouts
+the total number of compressed pages that have been swapped back in from disk.
 .El
 .Pp
 If 
 .Ar interval 
 is not specified, then 
 .Nm vm_stat 
-displays all accumulated statistics along with the page size and the
-object cache performance.
+displays all accumulated statistics along with the page size.