Platforms to show: All Mac Windows Linux Cross-Platform
DarwinVMStatisticsMBS.ActivePages as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages currently in use and pageable.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages currently in use and pageable.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.ActivePages)
class DarwinVMStatisticsMBS
class, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Holds information about the current Mac OS X memory status.
Example:
class, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Holds information about the current Mac OS X memory status.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.pageins)+" page ins"
DarwinVMStatisticsMBS.CowFaults as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of faults that caused a page to be copied (generally caused by copy-on-write faults).
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of faults that caused a page to be copied (generally caused by copy-on-write faults).
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.CowFaults)
DarwinVMStatisticsMBS.CPUTicksIdle as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the Idle process.
Example:
Notes:
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the Idle process.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.CPUTicksIdle)
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
DarwinVMStatisticsMBS.CPUTicksNice as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the task switcher process.
Example:
Notes:
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the task switcher process.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.CPUTicksNice)
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
DarwinVMStatisticsMBS.CPUTicksSystem as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the system processes.
Example:
Notes:
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the system processes.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.CPUTicksSystem)
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
DarwinVMStatisticsMBS.CPUTicksUser as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the user application processes.
Example:
Notes:
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of time slices used by the user application processes.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.CPUTicksUser)
Calculate deltas like in the example to see usage of CPU time.
(Read only property)
DarwinVMStatisticsMBS.Faults as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of times the "vm_fault" routine has been called.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of times the "vm_fault" routine has been called.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.Faults)
DarwinVMStatisticsMBS.FreePages as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of free pages in the system.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of free pages in the system.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.FreePages)
GetDarwinVMStatisticsMBS as DarwinVMStatisticsMBS
global method, Process, MBS REALbasic MacOSX Plugin (Darwin), Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Returns information about the current memory status on Mac OS X.
Example:
global method, Process, MBS REALbasic MacOSX Plugin (Darwin), Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Returns information about the current memory status on Mac OS X.
Example:
dim d as DarwinVMStatisticsMBS
d=GetDarwinVMStatisticsMBS
if d=nil then
msgBox "No Darwin running :-("
quit
else
dim lines(-1) as string
lines.Append format(d.pageins,"0")+" pageins"
lines.Append format(d.pageouts,"0")+" pageouts"
lines.Append format(d.pagesize,"0")+" pagesize"
lines.Append format(d.freepages,"0")+" freepages"
lines.Append format(d.activepages,"0")+" activepages"
lines.Append format(d.inactivepages,"0")+" inactivepages"
lines.Append format(d.wiredpages,"0")+" wiredpages"
lines.Append format(d.zerofillpages,"0")+" zerofillpages"
lines.Append format(d.reactivations,"0")+" reactivations"
lines.Append format(d.faults,"0")+" faults"
lines.Append format(d.cowfaults,"0")+" cowfaults"
lines.Append format(d.lookups,"0")+" lookups"
lines.Append format(d.hits,"0")+" hits"
MsgBox Join(lines,EndOfLine)
end if
Some examples using this method:
DarwinVMStatisticsMBS.Hits as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The hit count.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The hit count.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.Hits)
DarwinVMStatisticsMBS.InactivePages as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages on the inactive list.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages on the inactive list.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.InactivePages)
DarwinVMStatisticsMBS.Lookups as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The count of lookups.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The count of lookups.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.Lookups)
DarwinVMStatisticsMBS.PageIns as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of requests for pages from a pager (such as the inode pager).
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of requests for pages from a pager (such as the inode pager).
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.pageins)
DarwinVMStatisticsMBS.PageOuts as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of pages that have been paged out.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The number of pages that have been paged out.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.PageOuts)
DarwinVMStatisticsMBS.Pagesize as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The size of one memory page in memory.
Example:
Notes:
On PowerPC CPUs, it should be 4096 Bytes.
(Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The size of one memory page in memory.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.Pagesize)
On PowerPC CPUs, it should be 4096 Bytes.
(Read only property)
DarwinVMStatisticsMBS.Reactivations as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: the total number of pages that have been moved from the inactive list to the active list (reactivated).
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: the total number of pages that have been moved from the inactive list to the active list (reactivated).
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.Reactivations)
DarwinVMStatisticsMBS.WiredPages as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages wired down. That is, pages that cannot be paged out.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages wired down. That is, pages that cannot be paged out.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.WiredPages)
DarwinVMStatisticsMBS.ZeroFillPages as integer
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages that have been zero-filled on demand.
Example:
Notes: (Read only property)
property, Process, MBS REALbasic MacOSX Plugin (Darwin), class DarwinVMStatisticsMBS, Console safe, Plugin version: 2.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The total number of pages that have been zero-filled on demand.
Example:
dim d as DarwinVMStatisticsMBS = GetDarwinVMStatisticsMBS
MsgBox str(d.ZeroFillPages)
The items on this page are in the following plugins: MBS REALbasic MacOSX Plugin.
Links
MBS REAL studio PDF Plugins - Pfarrgemeinde St. Arnulf Nickenich