Glances is a cross-platform monitoring tool written in Python that provides a comprehensive overview of your system resources in real-time. It displays CPU, memory, disk I/O, network, and process information in a single terminal view. With its web interface and API, Glances can also be used for remote monitoring and integration with other tools.
📑 Table of Contents
Key Features
- All-in-One View – CPU, memory, disk, network, processes in one screen
- Web Interface – Monitor remotely via browser
- REST API – Integrate with monitoring systems
- Docker Support – Monitor container resources
- Alerts – Configurable thresholds with color coding
- Export – Send data to InfluxDB, Prometheus, CSV
Installation
# Using pip (recommended)
pip install glances
# With web server support
pip install "glances[web]"
# Debian/Ubuntu
sudo apt install glances
# RHEL/CentOS/Fedora
sudo dnf install glances
Usage Examples
# Basic usage
glances
# Web server mode
glances -w
# Client-server mode
glances -s # Server
glances -c server_ip # Client
# Monitor Docker containers
glances --enable-plugin docker
# Export to InfluxDB
glances --export influxdb
Use Cases
Glances is perfect for system monitoring, performance troubleshooting, container monitoring, dashboard integration, and remote server oversight.
Was this article helpful?