erllama_pressure_system (erllama v0.1.0)

View Source

System-memory pressure sampler backed by OTP's memsup (from os_mon). Portable across Linux, macOS, BSD, and Windows. Returns {Total - Available, Total}.

Requires os_mon to be started. The scheduler ensures this when system is selected as the pressure source.

Summary

Functions

sample()

-spec sample() -> erllama_pressure:reading().