In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to use Python's Bpytop". In daily operation, I believe many people have doubts about how to use Python's Bpytop. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "how to use Python's Bpytop"! Next, please follow the editor to study!
Bpytop is the python version of bashtop.
0. GitHub home page
Https://github.com/aristocratos/bpytop
1. Functional characteristics of Bpytop
Before we delve into this beautiful resource monitor, let's take a look at what features this command-line tool provides:
A beautiful and responsive user interface and arrow navigation
Change configuration options within UI
Keyboard and mouse support, menu scrolling
Filter running processes
Displays the read and write speed of the current disk drive
SIGTERM,SIGKILL,SIGINT can be sent to the selected process
Network usage, automatic thumbnail of the current read and write speed of the disk
2. Installation and use of Bpytop
Before you install Bpytop, make sure that your system meets the following requirements:
Python 3.6and above
The Psutil module, which you can install using the following command:
$python3-m pip install psutil
Next, let's describe in detail how to install Bpytop: there are two ways to install Bpytop, install from source code and install from the system repository using the package manager. Here we show how to install manually: first, you need to clone the entire repository from Github:
$git clone https://github.com/aristocratos/bpytop.git
Then compile from the source code and navigate to the clone directory:
$cd bpytop
And run the following command:
$sudo make install
Then you will see the following page:
Of course, in addition to manual installation, you can also install it in various Linux distributions. Let's not introduce them one by one here.
After installation, Bpytop shows the resource usage of the system as follows:
For help with command usage and keyboard shortcuts, press ESC and scroll down and select the HELP option.
You will also get a list of shortcut keys to use:
To exit or exit bpytop Resource Monitor, simply press the Q key on the keyboard. You can find configuration options that can be changed from UI in the $HOME/.config/bpytop directory.
At this point, the study on "how to use Python's Bpytop" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.