Glances – Monitoring tool for Linux and BSD
Share the post "Glances – Monitoring tool for Linux and BSD"
Glances is one of the best lightweight monitoring tool for linux and BSD based machines. It was developed based on Python language. It uses the libstatgrab library to get information from your system. This short tutorial explains you how to install glances on linux distribution.
Install glances on ubuntu linux
$ sudo add-apt-repository ppa:arnaud-hartmann/glances-stable
$ sudo apt-get update
$ sudo apt-get install glances
The PPA is available for Ubuntu version 9.10 to 12.04.
Install glances from source
In order to install glances from source you need to resolve some prerequisites. Glances need Python 2.6+, python-statgrab 0.5+.
First download the latest source using wget
$ 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
Install glances on Debian Squeeze
The Debian Squeeze repos only include the python-statgrab 0.4.You have to install the python-statgrab 0.5 using the following commands
$ sudo apt-get install libstatgrab-dev pkg-config python-dev make
$ 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
After the installation is completed, you can run the glances by using the simple commad glances.py. This is the sample output of the glances.

Glances shows the information about CPU, Load, Memory, Swap, Disk I/O, and Network I/O.
For more about glances, visit https://github.com/nicolargo/glances
Share the post "Glances – Monitoring tool for Linux and BSD"
Related articles
- Glipper , Parcellite – Best clipboard utilities for linux
- How to install OpenVPN on various linux distro
- Get linux OS details – Kernel version, distribution version, name, architecture, codename, release
- How to change the Apache HTTP port number
- Apache HTTP Server installation from source code in linux
- How to check the Video and Audio File properties – Media Information
- How to install parcellite on centos
- How to install parcellite on ubuntu linux
- How to mount iso image in linux
- How to change hostname in linux
Advertisement
Follow us on Twitter
Follow us on GooglePlus
Find us on Facebook
Recent Posts
- Alternatives to adobe flash player in ubuntu linux
- Easy method to install Adobe Flash player in ubuntu linux
- Nagios : make[2]: *** [check_http.o] Error 1 make[1]: *** [all-recursive]
- Easy method to install Skype in CentOS 6.3, RHEL – 6.3
- Easy method to recover linux root password
- Easy method to install KDE in ubuntu 12.04
- How to disable selinux
- Change selinux to permissive
- How to check selinux status
- Get website details
- How to install nginx in ubuntu
- How to install nginx in RHEL 5
- How to install nginx in RHEL 6
- How to install nginx in centos 5
- Get linux OS details – Kernel version, distribution version, name, architecture, codename, release
- Service start, stop, restart – nginx in centos
- How to change nginx port number
- How to install nginx on centos 6
- Rsync command with ssh port number
- File creation date and time in linux
- How to install Java in ubuntu linux
- How to install Oracle Java JDK in ubuntu
- How to set password for website
- Plesk – MySQL admin login – password
- How to install and configure PHPMyAdmin from source code in CentOS / RHEL / Fedora linux
- How to find out mysql uptime
- How to backup and restore mysql database
- How to recover mysql root password
- How to connect Mobile Broadband in the ubuntu linux
- Easy method to update bootloader in linux
Advertisement
