| vmstat -p and memstat(1M) |
Solaris 7 Only
A downloadable extended vmstat command for Solaris 7: memstat
Additional paging statistics are provided in the Solaris 7 kernel. Later, in Solaris 8, a new
vmstat option (-p) was added to examine these statistics. The statistics can be observed on Solaris 7 with a simple command-line utility:
memstat. memstat shows the paging activity, page-ins, page-outs, and page-frees separated into three classes: file system paging, anonymous memory paging, and executable/shared library paging.
Solaris 8 onwards
These statistics are available in Solaris 8 using vmstat -p
Statistics from the memstat and and vmstat -p commands
|
Counter
|
Description
|
|
|
-
The amount of free memory as reported by
vmstat
, which reports the combined size of the cache list and free list. Free memory on Solaris 7 may contain some of the file system cache.
|
|
|
-
Page reclaims -- The kilobytes of pages reclaimed since the last sample. Some of the file system cache is in the free list, and when a file page is reused and removed from the free list, a reclaim occurs. File pages in the free list can be either regular files or executable/library pages.
|
|
|
-
Minor faults -- The kilobytes of pages attached to an address space since the last sample. If the page is already in memory, then a minor fault simply reestablishes the mapping to it
|
|
|
-
Page-ins -- The kilobytes of pages paged in since the last sample. A page-in occurs whenever a page is brought back in from the swap device or brought from a file system into the file system cache.
|
|
|
-
Page-outs -- The kilobytes of pages paged out and freed. A page-out will be counted whenever a page is written
and
freed, often as a result of the pageout scanner, fsflush, or file close.
|
|
|
-
Page-frees -- The kilobytes of pages that have been freed by either the page scanner or by the file system (free-behind).
|
|
|
-
The precalculated anticipated short-term memory shortfall. Used by the page scanner to free ahead enough pages to satisfy requests.
|
|
|
-
The kilobytes of pages scanned by the page scanner per second.
|
|
|
-
Executable and library page-ins -- The kilobytes of pages from executable or shared library files paged in since the last sample. An executable/library page-in occurs whenever a page for the executable binary or shared library is brought back in from the file system.
|
|
|
-
Executable and library page-outs. Should be zero.
|
|
|
-
Executable and library page-frees -- The number of executable and library pages that have been freed by the page scanner.
|
|
|
-
Anonymous memory page-ins -- The number of anonymous (application heap and stack) pages paged in from the swap device since the last sample.
|
|
|
-
Anonymous memory page-outs -- The number of anonymous (application heap and stack) pages paged out to the swap device since the last sample.
|
|
|
-
Anonymous memory page-frees -- The number of anonymous (application heap and stack) pages that have been freed, after they have been paged out.
|
|
|
-
Regular file page-ins -- The kilobytes of pages from regular files paged in since the last sample. A file page-in occurs whenever a page for a regular file is read in from the file system (part of the normal file system read process).
|
|
|
-
Regular file page-outs -- The number of regular file pages that were paged out and freed, usually as a result of being paged out by the page scanner or by write free-behind (when free memory is less than
lotsfree
+
pages_before_pager
).
|
|
|
-
Regular file page-frees -- The number of regular file pages that were freed, usually as a result of being paged out by the page scanner or by write free-behind (when free memory is less than
lotsfree
+
pages_before_pager
).
|
Browse the book online via Safari Original Material © 2000-2005 Richard McDougall & Jim Mauro
Last Updated Dec 02 2005 00:21
|