Sponsored Link
Glances is written in Python and uses the psutil library to get information from your system.
Glances Features
The following system monitoring details will be provided
CPU
Memory
Load
Process list
Network interface
Disk I/O
Raid
Sensors
Filesystem (and folders)
Docker
Monitor
Alert
System info
Uptime
Quicklook (CPU, MEM, LOAD)
Cross-platform
Written in Python, Glances will run on almost any plaftorm : GNU/Linux, FreeBSD, OS X and Windows.
API
Glances includes a XML-RPC server and a RESTFUL-JSON API which can be used by another client software.
Web UI
No terminal at hand ? Use the built-in Web UI and monitor your system from any device.
Export
Export all system statistics to CSV, StatsD, InfluxDB, ElasticSearch or even RabbitMQ. Glances also provides a dedicated Grafana dashboard.
Install Glances on Ubuntu 16.04
Open the terminal and run the following command
sudo apt-get install glances
Using glances
You can run the following command from your terminal to see the details of your system
glances
Output looks as follows
Press ESC or “Ctrl + C” to quit from the Glances terminal.
By default, the interval time is set to 1 second, but you can define the custom interval time while running glances from the terminal.
To set the interval time to 5 seconds, run the following command:
glances -t 5
You can check glances documentation for more details.