4 <strong>Structure
</strong> - Defines statistics for the kernel's use of virtual memory.
7 <strong>struct vm_statistics
</strong>
9 <strong>integer_t
</strong> <var>free_count
</var><strong>;
</strong>
10 <strong>integer_t
</strong> <var>active_count
</var><strong>;
</strong>
11 <strong>integer_t
</strong> <var>inactive_count
</var><strong>;
</strong>
12 <strong>integer_t
</strong> <var>wire_count
</var><strong>;
</strong>
13 <strong>integer_t
</strong> <var>zero_fill_count
</var><strong>;
</strong>
14 <strong>integer_t
</strong> <var>reactivations
</var><strong>;
</strong>
15 <strong>integer_t
</strong> <var>pageins
</var><strong>;
</strong>
16 <strong>integer_t
</strong> <var>pageouts
</var><strong>;
</strong>
17 <strong>integer_t
</strong> <var>faults
</var><strong>;
</strong>
18 <strong>integer_t
</strong> <var>cow_faults
</var><strong>;
</strong>
19 <strong>integer_t
</strong> <var>lookups
</var><strong>;
</strong>
20 <strong>integer_t
</strong> <var>hits
</var><strong>;
</strong>
23 <strong>typedef struct vm_statistics* vm_statistics_t;
</strong>
27 <dt> <var>free_count
</var>
29 The total number of free pages in the system.
31 <dt> <var>active_count
</var>
33 The total number of pages currently in use and pageable.
35 <dt> <var>inactive_count
</var>
37 The number of inactive pages.
39 <dt> <var>wire_count
</var>
41 The number of pages that are wired in memory and cannot be paged
44 <dt> <var>zero_fill_count
</var>
46 The number of zero-fill pages.
48 <dt> <var>reactivations
</var>
50 The number of reactivated pages.
52 <dt> <var>pageins
</var>
54 The number of requests for pages from a pager (such as the i-node
57 <dt> <var>pageouts
</var>
59 The number of pages that have been paged out.
61 <dt> <var>faults
</var>
63 The number of times the
<strong>vm_fault
</strong> routine has been called.
65 <dt> <var>cow_faults
</var>
67 The number of copy-on-write faults.
69 <dt> <var>lookups
</var>
71 The number of object cache lookups.
75 The number of object cache hits.
79 The
<strong>vm_statistics
</strong> structure defines the statistics
80 available on the kernel's use of
81 virtual memory. The statistics record virtual memory usage since
82 the kernel was booted.
84 For related information for a specific task, see the
<strong>task_basic_info
</strong>
88 This structure is machine word length specific because of the memory sizes
90 <h3>RELATED INFORMATION
</h3>
93 <a href=
"task_info.html"><strong>task_info
</strong></a>,
94 <a href=
"host_page_size.html"><strong>host_page_size
</strong></a>.
97 <a href=
"task_basic_info.html"><strong>task_basic_info
</strong></a>.