Linux VPS Server Monitoring – GLANCES

by | Sep 12, 2017 | Documentation, Hosting, Linux

Glances is a Linux command-line based system monitoring tool written in Python.
With Glances, we can monitor CPU, Load Average, Memory, Network Interfaces, Disk I/O, Processes and File System spaces utilization.
Glances is a free tool and licensed under GPL for GNU/Linux operating systems. There are lots of interesting options available in Glances as well. This tool is an awesome way to monitor your server performance in live mode, we can even set thresholds (warning and critical system load) in a configuration file and information will be shown in colours which indicates the bottleneck in the system.
I like to use the Glances package provided by Python-Pip because it’s usually more recent than the one provided by APT

$sudo apt-get install python-pip build-essential python-dev lm-sensors
$sudo pip install psutil logutils bottle batinfo zeroconf netifaces pymdstat influxdb elasticsearch potsdb statsd pystache docker-py pysnmp pika py-cpuinfo bernhard
$sudo pip install --upgrade pip
$sudo pip install glances

Using APT

$ sudo apt-add-repository ppa:arnaud-hartmann/glances-stable
$ sudo apt-get update
$ sudo apt-get install glances

To start, issue the basic syntax on the terminal.


Glances is a nice way to quickly get an overview of systems from the command line.