Glances is written in Python and uses the psutil library to get information from your system.
The following system monitoring details will be provided
Filesystem (and folders)
Quicklook (CPU, MEM, LOAD)
Written in Python, Glances will run on almost any plaftorm : GNU/Linux, FreeBSD, OS X and Windows.
Glances includes a XML-RPC server and a RESTFUL-JSON API which can be used by another client software.
No terminal at hand ? Use the built-in Web UI and monitor your system from any device.
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
You can run the following command from your terminal to see the details of your system
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.