
glances
Cross-platform system monitoring tool with real-time stats display via terminal, web interface, or API
Glances is a cross-platform system monitoring tool that provides real-time monitoring of CPU, memory, disk, network usage, running processes, temperatures, voltages, and fan speeds. It supports container monitoring for Docker and LXC, presenting information through a terminal dashboard, web interface, or command-line output.
The tool operates in multiple modes including standalone terminal display, web server mode with HTTP/RESTful API access, and client/server mode for remote monitoring. It can export statistics to various formats including CSV, JSON, and direct stdout output, with support for querying specific metrics like glances --stdout cpu.user,mem.used,load. Stats can also be exported to external databases like InfluxDB, ElasticSearch, PostgreSQL, and message brokers.
Glances includes a built-in MCP (Model Context Protocol) server that allows AI assistants like Claude and Cursor to query system information directly. The tool provides a Python API through the glances.api module, enabling programmatic access to all monitoring data. It supports network discovery to detect other Glances servers and includes a browser mode for managing multiple monitored systems through both TUI and WebUI interfaces.
Installation
# via pip
pip install glances
# via pip (full)
pip install 'glances[all]'
# via uvx
uvx glances
Alternatives & related tools
BorgBackup
Deduplicating backup program with optional compression and authenticated encryption, supporting ssh, sftp, s3, b2 and rclone targets, and mountable archives.
bpytop
Terminal-based system resource monitor showing CPU, memory, disk, network and process usage with interactive interface
auto-cpufreq
Linux CPU speed and power optimizer that adjusts governor and turbo boost based on battery state, CPU load and temperature. Includes CLI, daemon and GUI.
nvitop
Interactive NVIDIA GPU and process monitor in Python with tree view, filtering, signal sending, a CUDA device selector (nvisel), and APIs for custom tools.
tuptime
System uptime tracking tool that preserves historical uptime/downtime statistics across reboots with detailed reporting
add a badge to your README
Maintain glances? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/glances?utm_source=badge)<a href="https://www.trmn.sh/tools/glances?utm_source=badge"><img src="https://www.trmn.sh/badge/glances.svg" alt="Featured on trmn" height="20"></a>