Feb 032012
 

As I stumbled upon an interesting monitoring tool in an article I read, I wanted to write down what I needed to do in order to get it installed properly on my Ubuntu 10.10 laptop.

The tool is glances version 1.3.7, and can be found here glances1.3.7@github. The page has a nice description on how to install, but it didn't work directly as is on my machine.

This is what I did.
First get the tools required by glances. This is what actually made the install work properly.

sudo apt-get update
sudo apt-get install pkg-config build-essential autoconf automake python libstatgrab-dev python-all-dev
sudo apt-get remove python-statgrab
wget http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-0.5.tar.gz
tar zxvf pystatgrab-0.5.tar.gz
cd pystatgrab-0.5/
./setup.py build
sudo ./setup.py install

Then get glances itself.

wget https://github.com/downloads/nicolargo/glances/glances-1.3.7.tar.gz
tar zxvf glances-1.3.7.tar.gz
cd glances-1.3.7
./configure
make
sudo make install

When that is done the tool is started by running the glances.py file, which is located in the src folder.

./src/glances.py

Sorry, the comment form is closed at this time.