Sys.Linux.Proc.Meminfo.Snapshot (Hyper v0.1.0)

Copy Markdown View Source

A point-in-time /proc/meminfo reading. Every field maps to a line present on all Linux kernels (MemTotal/MemFree/Buffers/Cached since 2.4, MemAvailable since 3.14).

Summary

Types

t()

@type t() :: %Sys.Linux.Proc.Meminfo.Snapshot{
  available: Unit.Information.t(),
  buffers: Unit.Information.t(),
  cached: Unit.Information.t(),
  free: Unit.Information.t(),
  total: Unit.Information.t()
}