How to Install Glances Monitoring Tool on Ubuntu 22.04

preview_player
Показать описание
Glances is a free, open-source, and cross-platform curses-based system monitoring tool written in Python. It is a real-time system monitoring tool that monitors system resources, including CPU, Memory, Load, Disk I/O, Processes, File System space, Network interface and more. It is designed to present a large amount of monitoring information via command-line and web-based interface. It uses psutil library to grab information from the system. It allows you to set different thresholds such as careful, warning, and critical in the configuration file and show each in different colors.

Features
With Glances, you can monitor the following:
RAM, Swap and free memory usage.
Average CPU load of system.
Total active and sleeping processes.
Disk I/O.
Display file system space.
Display current date and time.
In this post, we will show you how to install and monitor system resources with Glances on Ubuntu 22.04.

Useful Links:

Commands Used:
apt-get install glances -y
glances --version
systemctl status glances
glances

[Unit]
Description = Glances in Web Server Mode

[Service]
ExecStart = /usr/bin/glances -w -t 5

[Install]

systemctl daemon-reload
systemctl start glancesweb
systemctl enable glancesweb
systemctl status glancesweb
ss -antpl | grep glances
Рекомендации по теме