Cross-platform system monitoring CLI with a curses dashboard, web/API server, and JSON metric export.
$pip install glances
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Glances is a cross-platform host monitoring CLI that can run as a local curses dashboard, a web or API server, or a stdout exporter. It is built for inspecting live system health across CPU, memory, disks, network, processes, containers, and other plugins.
What It Enables
- Watch live host and process health locally, or connect to remote Glances servers for centralized monitoring.
- Export selected metrics as stdout JSON, CSV, or REST responses that can feed scripts, logging, alerts, or follow-up shell steps.
- Expose browser and API views for the same host metrics when you need remote access or lightweight dashboards.
Agent Fit
--stdout-jsonand the REST API give agents structured telemetry they can poll, diff, and route into later decisions.- This is much stronger for inspect and verify loops than for change workflows, because Glances reports system state but does not manage services or remediate issues itself.
- MCP support is real but optional; for most shell automation, direct JSON output or HTTP endpoints are the simpler integration surface.
Caveats
- Base installation is small, but web, export, and MCP features require optional extras such as
glances[all]orglances[mcp]. - Available plugins and fields vary by platform and by which optional dependencies are installed for containers, sensors, GPU, SMART, and similar data sources.