Install Glances on Ubuntu 16.04

Sponsored Link
Glances is a cross-platform curses-based monitoring tool which aims to present a maximum of information in a minimum of space, ideally to fit in a classical 80×24 terminal or higher to have additional information. It can adapt dynamically the displayed information depending on the terminal size. It can also work in client/server mode. Remote monitoring could be done via terminal or web interface.

Glances is written in Python and uses the psutil library to get information from your system.

Glances Features

The following system monitoring details will be provided

CPU
Memory
Load
Process list
Network interface
Disk I/O
Raid
Sensors
Filesystem (and folders)
Docker
Monitor
Alert
System info
Uptime
Quicklook (CPU, MEM, LOAD)

Cross-platform

Written in Python, Glances will run on almost any plaftorm : GNU/Linux, FreeBSD, OS X and Windows.

API

Glances includes a XML-RPC server and a RESTFUL-JSON API which can be used by another client software.

Web UI

No terminal at hand ? Use the built-in Web UI and monitor your system from any device.

Export

Export all system statistics to CSV, StatsD, InfluxDB, ElasticSearch or even RabbitMQ. Glances also provides a dedicated Grafana dashboard.

Install Glances on Ubuntu 16.04

Open the terminal and run the following command

sudo apt-get install glances

Using glances

You can run the following command from your terminal to see the details of your system

glances

Output looks as follows

1

Press ESC or “Ctrl + C” to quit from the Glances terminal.

By default, the interval time is set to 1 second, but you can define the custom interval time while running glances from the terminal.

To set the interval time to 5 seconds, run the following command:

glances -t 5

You can check glances documentation for more details.

Sponsored Link

Related posts

Leave a comment

Your email address will not be published. Required fields are marked *