Platforms to show: All Mac Windows Linux Cross-Platform

DarwinHostVMStatisticsMBS class   New in 24.3

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Process MBS MacCF Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Queries memory host statistics for macOS and iOS.
Example
Dim d As New DarwinHostVMStatisticsMBS

Dim FreeMB As Integer = d.FreeCount * d.Pagesize / 1024 / 1024
Dim ActiveMB As Integer = d.ActiveCount * d.Pagesize / 1024 / 1024
Dim InactiveMB As Integer = d.InactiveCount * d.Pagesize / 1024 / 1024
Dim WiredMB As Integer = d.WireCount * d.Pagesize / 1024 / 1024
Dim CompressedMB As Integer = d.CompressorPageCount * d.Pagesize / 1024 / 1024

Dim Sum As Integer = FreeMB + ActiveMB + WiredMB + InactiveMB + CompressedMB

MessageBox _
"Free: " + FreeMB.ToString+EndOfLine+_
"Active: " + ActiveMB.ToString+EndOfLine+_
"Inactive: " + InactiveMB.ToString+EndOfLine+_
"Wired: " + WiredMB.ToString+EndOfLine+_
"Compressed: " + CompressedMB.ToString+EndOfLine+_
"Total: "+Sum.ToString

This class has no sub classes.

Blog Entries

Release notes

  • Version 24.3
    • Added DarwinHostVMStatisticsMBS class with memory statistics for macOS and iOS.

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


DarwinGroupMBS   -   DarwinIFStatInterfaceMBS


The biggest plugin in space...