DarwinVMStatisticsMBS: GetDarwinVMStatisticsMBS

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to DarwinVMStatisticsMBS class.

GetDarwinVMStatisticsMBS as DarwinVMStatisticsMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Process MBS MacCF Plugin 2.6 ✅ Yes ❌ No ❌ No ✅ Yes All
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 global method:

The items on this page are in the following plugins: MBS MacCF Plugin.


💬 Ask a question or report a problem