It is equally important for end-users to have the ability to monitor system resource usage. Knowing the resource utilization of your system helps you make clear choices in system maintenance. There are tools you can resort to, such as top and htop, but they only show a few system metrics, such as CPU and memory usage.
Bpytop is the python version of bashtop.
1.Bpytop functional features
Before we dive into this beautiful resource monitor, let's take a look at what functional features this command line tool offers.
A beautiful fast responsive user interface and arrow navigation
Change configuration options within the UI
Keyboard and mouse support, menu scrolling support
Filtering of running processes
Displays the current disk drive read/write speed
SIGTERM, SIGKILL, SIGINT can be sent to selected processes
Auto-scaling graph of network usage, current read and write speed of disks
2.Bpytop installation and use
Before you install Bpytop, make sure your system meets the following requirements.
Python 3.6 and above
Psutil module, you can install this module using the following command.
$ python3 -m pip install psutil
Next, we will detail how to install Bpytop.
There are two ways to install Bpytop, from the source code and from the system repository using the package manager, and here we describe how to install it manually.
First you need to clone the entire repository from Github.
$ git clone https://github.com/aristocratos/bpytop.git
Next, compile from the source code and navigate to the clone directory at
$ cd bpytop
and run the following command.
$ sudo make install
In addition to manual installation, of course, you can also install it in various Linux distributions. We won't cover them all here.
After the installation, Bpytop shows the system's resource usage as follows.
For help with command usage and keyboard shortcuts, just press ESC and scroll down and select the HELP option.
You will also get a list of shortcut key usage actions
To exit or quit the bpytop resource monitor, simply press " q " on your keyboard. The configuration options that can be changed from the UI can be found in the $HOME/.config/bpytop directory .