cpu/load-average
Retrieve 1, 5, and 15 minute system load averages to assess Linux CPU demand and compare against logical CPU count. Read-only; supports text or JSON output.
Instructions
Returns the 1, 5 and 15 minute load averages from sysinfo(2). Read-only; the only parameter is output_format. Load counts runnable plus uninterruptible tasks, not CPU percent: compare it with the number of logical CPUs from cpu/list. Text is Load Average: 0.52, 0.48, 0.45; output_format: json (also yaml/table/wide) returns an object with numbers 1_min, 5_min, 15_min. For per-process CPU use processes/top, for memory memory/usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_format | No | Use json for structured output (yaml, table and wide return the same JSON); default is text |