As I have mentioned previously, ‘Glances’ is an awesome system monitor (command-line based) that lets you easily get a good overview of your GNU/Linux computer.
It displays a lot of information, such as the CPU usage (per core), Memory usage (Total, Used, Cached, Buffered, ‘Free’), Swap usage, live Network usage, Disk I/O usage, mounted devices, total number of active processes, top processes (arranged by CPU usage by default -- can be changed) & their various other information (CPU usage, memory usage, process name etc) and more.
‘Glances’ also makes a good use of 4 different colors for denoting the system’s health status by highlighting or changing the colors of ‘readings’ (CPU/Memory/Network & disk I/O etc), whenever their intensities go up or down as well.
These days it also supports displaying the temperature status of the system (I could not get it to work though), automatically adapts the info displayed when the Terminal emulator gets resized, change network display into Upload/Download style, shows mounted display drives’ names, enhanced help page and a few bug fixes.
Installing ‘Glances’ on Ubuntu 13.04 and Linux Mint 15 is pretty easy as it is hosted on Ubuntu’s software repositories. However, the version included there is a bit old one, and thus, you will not get the above mentioned features if you decided to use the below command.
sudo apt-get install glances
Alternative method …
If you want to get the latest version, then first enter the below command (‘pip’ is a tool that automatically resolves dependencies while installing Python based software tools such as ‘Glances’).
sudo apt-get install python-pip
For Ubuntu 12.04 LTS user only …
According to ‘Christiaan’ (comments), Ubuntu 12.04 users will have to install the ‘python-dev’ package. For that, please use the below command.
sudo apt-get install python-dev
You can try the following for enabling the temperature readings into ‘Glances’, though again remember that it did not work for me.
1. Enter the below command to install the necessary packages.
sudo apt-get install lm-sensors hddtemp
2. Then enter the below one.
This will initiate a wizard like setup, answer ‘Yes’ to everything by typing ‘y’ at each prompt.
3. Then enter the below command.
If it gives you temperature related information as shown below (data will differ according to your hardware) then you are good to go.
4. Now enter the below command so that above modules are loaded into the memory (into to the Kernel, to be precise).
sudo service kmod start
5. Then enter the below one to install a package called ‘pysensors’ which is required by ‘Glances’ for importing the readings of those sensors to its window.
sudo pip install pysensors
Then enter the below command to install it.
sudo pip install Glances
If you do not receive any error messages, then you should have the latest version of ‘Glances’ on Ubuntu 13.04 and Mint 15. To use it, open the Terminal window and enter the below command.
Press ‘q’ key to quit. To get more information, please visit this page .