Glances is a command line based system monitoring tool written in Python that uses the psutil library to fetch statistics about your system. Glances has the ability to monitor load averages, CPU usage, network interfaces, memory usage, disk usage, processes, and space utilization.
Log into your server using SSH.
Update your package list (Ubuntu/Debian).
sudo apt-get update
Install Glances (Ubuntu/Debian).
sudo apt-get install glances
(CentOS/Fedora/RHEL):
yum install -y glances
To start Glances, simply run the following command.
glances
To close Glances press q
, CTRL+C
, or ESC
.
Glances has a few hotkeys that you can use while it's running to change the items being displayed.
Glances also uses color codes to display statuses:
Glances is a very powerful, yet simple to use monitoring tool for Linux systems. It's ideal for when you want to get quick statistics about your system in an easy to read environment. It combines the most frequently accessed statistics into one page.
That concludes the installation of Glances on your server, enjoy!