Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vm_stat(1) [osx man page]

VM_STAT(1)						    BSD General Commands Manual 						VM_STAT(1)

NAME
vm_stat -- show Mach virtual memory statistics SYNOPSIS
vm_stat [[-c count] 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 second). However, the first line of output following each banner displays the system-wide totals for each statistic. If a count is pro- vided, 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 out to disk. Swapouts the total number of compressed pages that have been swapped back in from disk. If interval is not specified, then vm_stat displays all accumulated statistics along with the page size. Mac OS X August 13, 1997 Mac OS X

Check Out this Related Man Page

rstat(3N)																 rstat(3N)

NAME
rstat(), havedisk() - get performance data from remote kernel SYNOPSIS
DESCRIPTION
returns if host has a disk, if it does not, and -1 if this cannot be determined. The host string is either the official name of the host or an alias for it. See hosts(4) for more information regarding host names. fills in the statstime structure for host, and returns if it was successful. The relevant structures are: struct stats { /* RSTATVERS_ORIG */ int cp_time[4]; /* the time spent in each CPU state */ int dk_xfer[4]; /* total number of disk transfers on each of the disk interfaces */ unsigned v_pgpgin; /* total VM pages paged in */ unsigned v_pgpgout; /* total VM pages paged out */ unsigned v_pswpin; /* total VM pages paged swapped in */ unsigned v_pswpout; /* total VM pages paged swapped out */ unsigned v_intr; /* total interrupts */ int if_ipackets; /* inbound packets on all interfaces */ int if_ierrors; /* inbound errors on all interfaces */ int if_opackets; /* outbound packets on all interfaces */ int if_oerrors; /* outbound errors on all interfaces */ int if_collisions; /* collisions seen on all interfaces */ }; struct statsswtch { /* RSTATVERS_SWTCH */ int cp_time[4]; /* the time spent in each CPU state */ int dk_xfer[4]; /* total number of disk transfers on each of the disk interfaces */ unsigned v_pgpgin; /* total VM pages paged in */ unsigned v_pgpgout; /* total VM pages paged out */ unsigned v_pswpin; /* total VM pages paged swapped in */ unsigned v_pswpout; /* total VM pages paged swapped out */ unsigned v_intr; /* total interrupts */ int if_ipackets; /* inbound packets on all interfaces */ int if_ierrors; /* inbound errors on all interfaces */ int if_opackets; /* outbound packets on all interfaces */ int if_oerrors; /* outbound errors on all interfaces */ int if_collisions; /* collisions seen on all interfaces */ unsigned v_swtch; /* total context switches */ long avenrun[3]; /* average number of running jobs */ struct timeval boottime; /* time of last boot */ }; struct statstime { /* RSTATVERS_TIME */ int cp_time[4]; /* the time spent in each CPU state */ int dk_xfer[4]; /* total number of disk transfers on each of the disk interfaces */ unsigned v_pgpgin; /* total VM pages paged in */ unsigned v_pgpgout; /* total VM pages paged out */ unsigned v_pswpin; /* total VM pages paged swapped in */ unsigned v_pswpout; /* total VM pages paged swapped out */ unsigned v_intr; /* total interrupts */ int if_ipackets; /* inbound packets on all interfaces */ int if_ierrors; /* inbound errors on all interfaces */ int if_opackets; /* outbound packets on all interfaces */ int if_oerrors; /* outbound errors on all interfaces */ int if_collisions; /* collisions seen on all interfaces */ unsigned v_swtch; /* total context switches */ long avenrun[3]; /* average number of running jobs */ struct timeval boottime; /* time of last boot */ struct timeval curtime; /* current system time */ }; RPC Info Program number: XDR routines: int xdr_stats(xdrs, stat) XDR *xdrs; struct stats *stat; int xdr_statsswtch(xdrs, stat) XDR *xdrs; struct statsswtch *stat; int xdr_statstime(xdrs, stat) XDR *xdrs; struct statstime *stat; int xdr_timeval(xdrs, tv) XDR *xdrs; struct timeval *tv; Procs: Takes no arguments, returns long which is true if remote host has a disk. Takes no arguments, return struct statsxxx, depending on version. Versions: WARNINGS
User applications that call this routine must be linked with For example, AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
rup(1), rstatd(1M). rstat(3N)
Man Page