
A cross-platform system monitoring tool written in Python with web UI support.
Glances is a comprehensive cross-platform system monitoring tool that provides real-time insights into your system's performance. It monitors CPU, memory, disk, network usage, running processes, logged-in users, temperatures, voltages, and fan speeds. The tool also supports container monitoring for Docker and LXC systems, making it valuable for modern containerized environments.
What sets Glances apart is its flexibility in deployment modes. You can run it as a standalone terminal application, launch it as a web server with an intuitive dashboard accessible through any browser, or use it in client/server mode for remote monitoring across networks. It also offers a powerful API (both XML-RPC and RESTful) for integration with other tools and services.
Glances is designed for system administrators, DevOps engineers, and anyone who needs to monitor system performance. Its Python-based architecture with plugin support makes it highly extensible, while its ability to export data to various databases (InfluxDB, Prometheus, Elasticsearch) and formats (CSV, JSON) makes it suitable for both real-time monitoring and historical analysis. The tool can also output raw statistics to stdout, making it scriptable and integration-friendly.
# via pip
pip install glances
# via pip (full features)
pip install 'glances[all]'
# via Docker
docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host --network host -it nicolargo/glances:latest-full