Introduction
Glances is a command-line system monitoring tool written in Python. It uses the psutil library to gather statistics about your system, including load averages, CPU usage, network interfaces, memory usage, disk usage, processes, and space utilization.
Requirements
- Ubuntu 14.04 - 64 bits
- Root SSH access to your server
Installation
Install Commands - All Together
Run the following command to install Glances and its dependencies in one go:
apt-get update && apt-get install tar curl -y && curl -L http://bit.ly/glances | /bin/bash && pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb statsd pystache pika && pip install --upgrade glances && apt-get clean && apt-get autoremove
Install Commands - Step by Step
Alternatively, you can install Glances step by step:
Update package list:
apt-get update
Install tar
and curl
:
apt-get install tar curl -y
Download and install Glances:
curl -L http://bit.ly/glances | /bin/bash
Install necessary Python packages:
pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb statsd pystache pika
Upgrade Glances:
pip install --upgrade glances
Clean up:
apt-get clean
apt-get autoremove
Running Glances
To run the Glances tool, simply execute:
glances
By following these steps, you will have Glances installed and ready to use on your Ubuntu 14.04 - 64 bits server.