get_docker_container_stats
Fetch real-time CPU, memory, network, and PID metrics for running containers via container IDs or 'all' to monitor resource usage.
Instructions
Returns live CPU, memory, network I/O, and PID stats for running containers. Params: container_ids comma-separated or 'all' (running only). Read-only, one-shot sample. Stats only exist for running containers; unknown or stopped ids error. For all containers in one call use get_docker_stats_all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_ids | Yes | container name(s) or ID(s), comma-separated, or 'all' for all running containers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| containers | Yes |