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.


The biggest plugin in space...