Glances
Glances is a cross-platform monitoring tool that aims to present maximum information in minimal space through either a curses-based or Web-based interface. It can dynamically adapt the displayed information depending on the terminal size.
It can also work in client/server mode. Remote monitoring can be done via terminal, Web interface, or API (XMLRPC and RESTful).
Stats can also be exported to files or external databases.
It is also possible to use it in your own Python scripts thanks to the Glances API or in any other application through the RESTful API.
AI assistants (Claude, Cursor, …) can query Glances directly through the MCP (Model Context Protocol) server.
Table of Contents
- Install
- Shell tab completion
- Quickstart
- Command Reference
- Configuration
- Anatomy Of The Application
- Gateway To Other Services
- Python API documentation
- TL;DR
- Init Glances Python API
- Get Glances plugins list
- Glances alert
- Glances ports
- Glances diskio
- Glances containers
- Glances processcount
- Glances gpu
- Glances percpu
- Glances system
- Glances network
- Glances cpu
- Glances amps
- Glances processlist
- Glances load
- Glances sensors
- Glances uptime
- Glances now
- Glances fs
- Glances wifi
- Glances ip
- Glances version
- Glances psutilversion
- Glances core
- Glances mem
- Glances folders
- Glances quicklook
- Glances memswap
- Use auto_unit to display a human-readable string with the unit
- Use to display stat as a bar
- Use to display top process list
- Restful/JSON API documentation
- Run the Glances API server
- API URL
- API documentation URL
- Authentication
- Security
- WebUI refresh
- GET API status
- GET plugins list
- GET alert
- POST clear events
- GET amps
- GET cloud
- GET connections
- GET containers
- GET core
- GET cpu
- GET diskio
- GET folders
- GET fs
- GET gpu
- GET help
- GET ip
- GET irq
- GET load
- GET mem
- GET memswap
- GET mpp
- GET network
- GET now
- GET npu
- GET percpu
- GET ports
- GET processcount
- GET processlist
- GET programlist
- GET psutilversion
- GET quicklook
- GET raid
- GET sensors
- GET smart
- GET system
- GET uptime
- GET version
- GET vms
- GET wifi
- GET all stats
- GET stats of a specific process
- GET top n items of a specific plugin
- GET item description
- GET item unit
- GET stats history
- GET limits (used for thresholds)
- MCP (Model Context Protocol) server
- Docker
- F.A.Q
- Support