The C_OS
implements the microkernel memory instrumentation via the sysctl kern.mkstats.mem
node. The OS_GAUGES
feature must be set to true.
Instrumentation related to memory use comprises the following measurements:
Function |
Instrument Type |
Description |
---|---|---|
physPagesEquiped() |
Attribute |
Measures the amount of physical pages of memory available on the node |
physPagesavail() |
Gauge (low threshold) |
Measures the amount of physical pages of memory currently available |
allocFailures() |
Counter |
Number of memory allocation failures since boot |
pageSize() |
Attribute |
Size in bytes of physical page |