]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>vm_statistics</h2>\r<hr>\r<p>\r<strong>Structure</strong> - Defines statistics for the kernel's use of virtual memory.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>struct vm_statistics</strong>\r<strong>{</strong>\r <strong>integer_t</strong> <var>free_count</var><strong>;</strong>\r <strong>integer_t</strong> <var>active_count</var><strong>;</strong>\r <strong>integer_t</strong> <var>inactive_count</var><strong>;</strong>\r <strong>integer_t</strong> <var>wire_count</var><strong>;</strong>\r <strong>integer_t</strong> <var>zero_fill_count</var><strong>;</strong>\r <strong>integer_t</strong> <var>reactivations</var><strong>;</strong>\r <strong>integer_t</strong> <var>pageins</var><strong>;</strong>\r <strong>integer_t</strong> <var>pageouts</var><strong>;</strong>\r <strong>integer_t</strong> <var>faults</var><strong>;</strong>\r <strong>integer_t</strong> <var>cow_faults</var><strong>;</strong>\r <strong>integer_t</strong> <var>lookups</var><strong>;</strong>\r <strong>integer_t</strong> <var>hits</var><strong>;</strong>\r<strong>};</strong>\r\r<strong>typedef struct vm_statistics* vm_statistics_t;</strong>\r</pre>\r<h3>FIELDS</h3>\r<dl>\r<dt> <var>free_count</var>\r<dd>\rThe total number of free pages in the system.\r<p>\r<dt> <var>active_count</var>\r<dd>\rThe total number of pages currently in use and pageable.\r<p>\r<dt> <var>inactive_count</var>\r<dd>\rThe number of inactive pages.\r<p>\r<dt> <var>wire_count</var>\r<dd>\rThe number of pages that are wired in memory and cannot be paged \rout.\r<p>\r<dt> <var>zero_fill_count</var>\r<dd>\rThe number of zero-fill pages.\r<p>\r<dt> <var>reactivations</var>\r<dd>\rThe number of reactivated pages.\r<p>\r<dt> <var>pageins</var>\r<dd>\rThe number of requests for pages from a pager (such as the i-node\rpager).\r<p>\r<dt> <var>pageouts</var>\r<dd>\rThe number of pages that have been paged out.\r<p>\r<dt> <var>faults</var>\r<dd>\rThe number of times the <strong>vm_fault</strong> routine has been called.\r<p>\r<dt> <var>cow_faults</var>\r<dd>\rThe number of copy-on-write faults.\r<p>\r<dt> <var>lookups</var>\r<dd>\rThe number of object cache lookups.\r<p>\r<dt> <var>hits</var>\r<dd>\rThe number of object cache hits.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>vm_statistics</strong> structure defines the statistics\ravailable on the kernel's use of \rvirtual memory. The statistics record virtual memory usage since\rthe kernel was booted.\r<p>\rFor related information for a specific task, see the <strong>task_basic_info</strong>\rstructure.\r<h3>NOTES</h3>\r<p>\rThis structure is machine word length specific because of the memory sizes\rreturned.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="task_info.html"><strong>task_info</strong></a>,\r<a href="host_page_size.html"><strong>host_page_size</strong></a>. \r<p>\rData Structures:\r<a href="task_basic_info.html"><strong>task_basic_info</strong></a>.\r\r |