Sys.Mon.Mem (Hyper v0.1.0)

Copy Markdown View Source

Monitors instantaneous memory pressure.

Samples /proc/meminfo every 29 ms and reports used memory as MemTotal - MemAvailable, smoothed with a 30-second time constant. Although memory is an alpha (hard) budget tracked from VM specs, the live figure is useful for detecting actual pressure. Readings are Unit.Information.

Summary

Functions

The latest instantaneous + filtered used memory (Unit.Information readings).

Functions

value()

@spec value() :: Sys.Mon.Server.Reading.t()

The latest instantaneous + filtered used memory (Unit.Information readings).