System:getSwapInfo
Method
Purpose
This method (on Mac OS X) returns information on the utilization of system swap space.
Type
Synchronous, IMPACT_INFO.
Arguments
None.
Returns
Name |
Type |
Description |
Page Size |
Long |
The size of a page in bytes |
Page Free |
Long |
The total number of free pages in the system |
Page Active |
Long |
The total number of pages currently in use and pageable |
Page Inactive |
Long |
The total number of pages on the inactive list |
Page Wired Down |
Long |
The total number of pages that cannot be paged out |
Page Copy-On-Write |
Long |
The number of faults that caused a page to be copied |
Page Reactivated |
Long |
The total number of pages that have been moved from the inactive list to the active list |
Pageins |
Long |
The number of requests for pages from a pager |
Pageouts |
Long |
The number of pages that have been paged out |
Hit Rate |
Double |
The percentage of page hits over page lookup |