Glances is a cross-platform system monitoring tool written in Python. It provides a comprehensive overview of system resources in a terminal-based interface, with optional web UI and REST API for remote monitoring.
📑 Table of Contents
Key Features
- All-in-One View: CPU, memory, disk, network in single interface
- Cross-Platform: Works on Linux, macOS, Windows, and BSD
- Web Interface: Built-in web server for remote access
- REST API: Programmatic access to all metrics
- Docker Support: Monitor containers natively
Installation
Install Glances using pip:
pip install glances
# With optional dependencies
pip install "glances[web,docker,gpu]"
Usage Examples
Run Glances in different modes:
# Terminal mode
glances
# Web server mode
glances -w
# Client-server mode
glances -s # On server
glances -c server_ip # On client
Benefits
Glances provides quick insights without complex setup. Its Python foundation ensures portability, while the modular design allows customization. The web interface enables monitoring from any device with a browser.
Was this article helpful?