Install Glances monitoring system on Ubuntu20.04LTS

1. Introduction to Glances

Glances is a cross-platform, text-based command-line tool for monitoring systems. It is written in Python and uses the psutil library to get information from the system. You can use it to monitor CPU, load average, memory, network interfaces, disk I/O, file system space utilization, mounted devices, all active processes and the processes consuming the most resources. Glances has a lot of interesting options. One of its main features is that thresholds can be set in the configuration file (careful: careful, warning: warning, critical: fatal), and then it will display information in different colors to indicate the bottleneck of the system.

Github address: https://github.com/nicolargo/glances

2. Function introduction

  • Display: CPU load average
  • Display: the number of processes in different states (such as active, dormant)
  • Display: All memory information, such as physical memory, swap space, free memory
  • Display: CPU information
  • Display: Uplink/downlink speed of network connection
  • Show: Disk I/O read/write speed details
  • Display: disk usage of the currently mounted device
  • Display: Top resource consuming processes and their CPU/Memory usage

2. Installation and use

Installation: Execute the following command to install Glances:

sudo apt-get install glances

Usage: By default, the interval (time interval between display data refreshes) is 1 second.

glances

3. References

Guess you like

Origin blog.csdn.net/m0_38068876/article/details/129602222