# `Sys.Linux.Proc.Meminfo`
[🔗](https://github.com/harmont-dev/hyper/blob/main/lib/sys/linux/proc/meminfo.ex#L1)

Reads memory totals from `/proc/meminfo`.

`MemAvailable` is the kernel's own estimate of memory obtainable for a new
workload without swapping - the right figure for "how loaded is this node",
preferable to `MemFree` (which ignores reclaimable cache). Values in the file
are kibibytes; they are returned as `Unit.Information`.

# `parse`

```elixir
@spec parse(String.t()) :: Sys.Linux.Proc.Meminfo.Snapshot.t()
```

Parse a `/proc/meminfo` payload.

# `read`

```elixir
@spec read() :: {:ok, Sys.Linux.Proc.Meminfo.Snapshot.t()} | {:error, File.posix()}
```

Read and parse `/proc/meminfo`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
