Glances is a cross-platform monitoring tool written in Python, designed to present a large amount of system monitoring information through curses or a web-based interface that dynamically scales to the size of the user interface, and is a top/htop replacement for GNU/Linux, BSD, Mac OS and Windows operating systems.

It works in client/server mode, remote monitoring can be done via terminal, web interface or API (XML-RPC and RESTful), and statistics can be exported to files or external time/value databases.

In addition to listing all processes and their CPU and memory usage, it can also display other information about the system

  • Network and disk usage

  • File system space used and total space

  • Data from different sensors (e.g. batteries)

  • and a list of processes that have recently consumed excessive resources

 

1.Installation of glances

apt install glances

2. Use of glances

Standalone mode operation:

glances

Glances

Web Server Mode

glances -w

Monitor the local machine and start the RESTful server using the web interface, http://0.0.0.0:61208/

Client / Server Mode:

glances -s

server

glances -c 

More information on the use of glances, optional parameter options, and use cases can be found at: glances -h for help.

Related articles

Nuitka installation and use

1.Installation of nuitka You can install it directly with pip: pip install Nuitka Download vs2019 (MSVS) or MinGW64

pynput tutorial

python control computer keyboard and mouse This library allows you to control and monitor input devices. pynput.mouse:Contains classes to control and monitor the mouse or touchpad.

Summarize Pandas GroupBy

Three Steps to Using Groupby First, we need to know that any groupby process involves some combination of the following 3 steps. Grouping the original objects according to the defined criteria

Python+AI for editing faces

This project uses the StyleGAN algorithm for face editing.,In this project, it is possible to change the hair style of a person in a picture, add a beard to a person, make a person smile, etc.

Python+AI makes static images dynamic

The character on the far left is the original action, and the top is a static image. By using AI technology, the action of the leftmost character can be applied to the static image above, so that all the pictures can make the same action.

Python Download Kindle eBooks

Have you ever thought of downloading Kindle eBooks from Amazon.com to your own computer? The project shared today can help you achieve this purpose. The project is developed in Python, simple, easy to use and open source. First, download the source code