memory/usage
Report RAM and swap use from /proc/meminfo, with summary or raw details. Returns text tables or structured JSON for monitoring and diagnostics.
Instructions
Reports memory and swap use from /proc/meminfo. Read-only. used is total - free - (buffers + cached + reclaimable slab); available is the kernel's MemAvailable. Text output is a free-like table with Mem: and Swap: rows (bytes, or e.g. 1.8Gi with human_readable); detailed: true returns the raw /proc/meminfo instead, but only for text output (it is ignored with output_format: json). JSON (also yaml/table/wide) returns an object (total, used, free, shared, buffCache, available, swap_total, swap_used, swap_free) in bytes; human_readable is ignored there. For per-process memory use processes/top or processes/list, for CPU load cpu/load-average.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | Return the raw /proc/meminfo instead of the summary (text output only; ignored with output_format json) | |
| output_format | No | Use json for structured output (yaml, table and wide return the same JSON); default is text | |
| human_readable | No | Sizes like free -h (1.8Gi); default is bytes |