docker_stats
Retrieve CPU, memory, and PID statistics for every running Docker container on a specific instance. Returns a JSON array with container names and resource percentages.
Instructions
Single-sample resource usage for every running container on one instance: CPU %, memory used/limit (bytes), memory %, and PID count. Read-only. Returns JSON: {containers: [{name, cpu_percent, mem_used_bytes, mem_limit_bytes, mem_percent, pids}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | Instance ID or name. |