vm_stat displays Mach virtual memory statistics.
$ vm_stat
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 14904.
Pages active: 143391.
Pages inactive: 74672.
Pages wired down: 29177.
"Translation faults": 19640976.
Pages copy-on-write: 177340.
Pages zero filled: 11790412.
Pages reactivated: 746748.
Pageins: 145474.
Pageouts: 157271.
Object cache: 23274 hits of 87350 lookups (26% hit rate)
VM_STAT(1) BSD General Commands Manual VM_STAT(1)
NAME
vm_stat -- show Mach virtual memory statistics
SYNOPSIS
vm_stat [interval]
DESCRIPTION
vm_stat displays Mach virtual memory statistics. 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 sec-
ond). However, the first line of output following each banner displays
the system-wide totals for each statistic. The following values are dis-
played:
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 wired down
the total number of pages wired down. That is, pages that cannot
be paged out.
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).
Pageins
the number of requests for pages from a pager (such as the inode
pager).
Pageouts
the number of pages that have been paged out.
If interval is not specified, then vm_stat displays all accumulated sta-
tistics along with the page size and the object cache performance.
Mac OS August 13, 1997 Mac OS
Fascinating! I worked on a project* once that involved a complete rewrite of the command-line utility passwd in order to keep a number of system services including a .htpasswd file in sync with users account passwords. Mac OS X Hints noted this is made simple with Mac OS X Leopard (10.5) and Open Directory.
Media Temple labs has a private beta for what it’s calling Xserve-Virtual . This system has been added quickly added to my MT wish list along with the Django GridContainer which, perhaps I wont need if I move over to a full-on-mirror of my development environment using a virtual OS X Server.
A virtual Mac OS X Leopard Server running on a fully loaded cluster of Xserves virtualized using Parallels Server . I want one, … or three, … yeah that should be enough …. maybe four, for symmetry.
Having started my journey down the command-line with Fedora 3, I was excited to try out Fedora 9. The install completed with ease (the first time around) but once I logged onto the system and attempted to configure some of the system settings, my root password didn’t work.
Why? CAPS LOCK bit was set by default during the install process making a different root password.