Install ‘Glances’ (system monitor) on Ubuntu 13.04

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.

More information will be revealed when you make the window bigger …

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 …

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


Optional …

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.

sudo sensors-detect

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 .

An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

6 thoughts on “Install ‘Glances’ (system monitor) on Ubuntu 13.04”

  1. This tutorial did not work. I just installed Ubuntu 13.04, and running “sudo apt-get install pip” produces an error saying that package pip is not found. Did you add a repository before running this command?

    • Hello there,

      I worked on my Ubuntu 13.04 without issues. However, if you had installed Ubuntu recently, then try the below command to update the repository data.

      sudo apt-get update

      Now try running the below one.

      sudo apt-get install pip

  2. Thank you for the post. On Ubuntu 12.04 I needed to sudo apt-get install python-dev , as well to get the pip install to work correctly.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.