In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to use Bpytop tools". In daily operation, I believe many people have doubts about how to use Bpytop tools. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "how to use Bpytop tools"! Next, please follow the editor to study!
Bpytop
Bpytop is a powerful Linux/OSX/FreeBSD resource monitoring tool that displays resource usage and processor status on the target system, including memory usage, disk space, network traffic, and process status.
Function introduction
Easy to use with a highly interactive menu system
Full mouse support, all buttons are highlighted and clickable, and support for mouse scrolling process list and menu bar
Fast response UI, which can switch processes using the up and down keys of the keypad
Displays the full status information of the selected process
Support for filtering process and multiple filtering
You can easily switch sorting options
SIGTERM, SIGKILL, and SIGINT can be sent to the selected process
The UI menu is provided to modify all configuration files
Automatically generate a scalable network usage diagram
If a new version is detected, it will be displayed in the tools menu
Displays the current read and write speed of the disk
Theme support
Bpytop uses the same theme file as bashtop, so Bpytop, a theme file supported by bashtop, can also be used. Click [here] to view all supported theme files.
If installed using the make install command, the theme file is stored in / usr/local/share/bpytop/themes by default. If installed using the pip3 command, the theme will be stored in a directory called bpytop-themes. Themes created by users should be stored in the $HOME/.config/bpytop/themes path.
Tool dependence
Python 3 (6 or later)
Psutil module (version 7.0 or later)
Tools install PyPi (install latest version only) pip3 install bpytop-- upgradeArch Linux https://aur.archlinux.org/packages/bpytop/Debiansudo apt install bpytopFreeBSD package sudo pkg install bpytopFedora/CenOS 8 package sudo dnf install bpytopGentoo/Calculate Linuxsudo emerge-av sys-process/bpytopMageia Cauldron (Mageia 8) sudo urpmi bpytopsudo dnf install bpytopMX Linux http://mxrepo.com/mx/testrepo/pool/test/b/bpytop/ manually install git clone https://github.com/aristocratos/bpytop.gitcd bpytopsudo make install tools uninstall sudo make uninstall tool configuration
All of the tool's configuration options can be configured and modified through the UI interface, and the configuration files are stored in the "$HOME/.config/bpytop" directory. The configuration file is automatically generated with the file name bpytop.cfg (/ etc/bpytop.conf will be used as the default seed for profile generation):
#? Config file for bpytop v. 1.0.22 # * Color theme, looks for a. Theme file in "/ usr/ [local /] share/bpytop/themes" and "~ / .config / bpytop/themes", "Default" for builtin default theme.#* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. Color_theme= "+ monokai" color_theme= "Default" # * If the theme set background should be shown, set to False if you want terminal background transparencytheme_background=False # * Set bpytop view mode, "full" for everything shown "proc" for cpu stats and processes, "stat" for cpu, mem, disks and net stats shown.view_mode=full # * Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.update_ms=2000 # * Processes sorting, "pid"program", "arguments", "threads", "user", "memory", "cpu lazy"cpu responsive", # * "cpu lazy" updates top process over time "cpu responsive" updates top process directly.proc_sorting= "cpu lazy" # * Reverse sorting order, True or False.proc_reversed=False # * Show processes as a treeproc_tree=False # * Use the cpu graph colors in the process list.proc_colors=True # * Use a darkening gradient in the process list.proc_gradient=True # * If process cpu usage should be of the core it's running on or usage of the total available cpu power.proc_per_core=True # * Show process memory as bytes instead of percentproc_mem_bytes=True # * Check cpu temperature Needs "osx-cpu-temp" on MacOS X.check_temp=True # * Draw a clock at top of screen, formatting according to strftime, empty string to disable.draw_clock= "% X" # * Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.background_update=True # * Custom cpu model name, empty string to disable.custom_cpu_name= "# * Optional filter for shown disks, should be last folder in path of a mountpoint," root "replaces" / " Separate multiple values with comma.#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter= "exclude=boot, home" disks_filter= "# * Show graphs instead of meters for memory values.mem_graphs=True # * If swap memory should be shown in memory box.show_swap=True # * Show swap as a disk, ignores show_swap value above, inserts itself after first disk.swap_disk=True # * If mem box should be split to also show disks info.show_disks=True # * Set fixed values for network graphs, default" 10m "= 10 Mibibytes, possible units" K "," M "," G ", append with" bit "for bits instead of bytes I.e "100mbit" net_download= "100Mbit" net_upload= "100Mbit" # * Start in network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.net_auto=True # * Sync the scaling for download and upload to whichever currently has the highest scalenet_sync=False # * If the network graphs color gradient should scale to bandwith usage or auto scale, bandwith usage is based on "net_download" and "net_upload" valuesnet_color_fixed=False # * Show init screen at startup The init screen is purely cosmeticalshow_init=False # * Enable check for new version from github.com/aristocratos/bpytop at start.update_check=True # * Set loglevel for "~ / .config / bpytop/error.log" levels are: "ERROR", "WARNING", "INFO", "DEBUG". # * The level set includes all lower levels, i.e. "DEBUG" will show all logging info.log_level=WARNING command line options USAGE: bpytop [argument] Arguments:-f,-full Start in full mode showing all boxes [default]-p,-- proc Start in minimal mode without memory and net boxes-s,-- stat Start in minimal mode without process box-v,-- version Show version info and exit-h -- help Show this help message and exit-- the main interface of the debug Start with loglevel set to DEBUG overriding value set in config tool running the screenshot tool will show the resource usage of the selected process:
Mini mode of the main interface:
Tools main menu:
Tool options menu:
Dependent package version
At this point, the study on "how to use Bpytop tools" 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.