Maximize Your System Monitoring with Bpytop: Features, Themes, and Customization Guide

Bpytop

Bpytop is a powerful Linux/OSX/FreeBSD resource monitoring tool that can display resource usage and processor status of the target system, including memory usage, disk space, network traffic, and process status.

Bpytop: Features Overview

Easy to use with a highly interactive menu system;
Full mouse support, all buttons are highlighted and clickable, supports mouse scrolling for the process list and menu bar;
Fast responsive UI, can switch processes using keyboard up and down keys;
Displays full status information for selected processes;
Supports filtering processes, with multiple filter options;
Easily switch sorting options;
Can send SIGTERM, SIGKILL, and SIGINT to selected processes;
Provides a UI menu to modify all configuration files;
Automatically generates scalable network usage graphs;
Displays a notification in the tool menu if a new version is detected;
Shows current disk read and write speeds;

Bpytop Theme Support

Bpytop uses the same theme files as bashtop, meaning any themes supported by bashtop can also be used in Bpytop. Click [ here ] to view all supported theme files.

If installed using the make install command, theme files are stored in /usr/local/share/bpytop/themes by default. If installed using the pip3 command, themes are stored in a directory named bpytop-themes. Custom themes created by users should be placed in the $HOME/.config/bpytop/themes directory.

Dependencies for the Bpytop Tool

  • Python 3 (version 6 or higher);
  • Psutil module (version 7.0 or higher);

Bpytop Tool Installation

PyPi (install latest version only)

 pip3 install bpytop --upgrade

Arch Linux: Bpytop

 https://aur.archlinux.org/packages/bpytop/

Bpytop in Debian

 sudo apt install bpytop

Bpytop FreeBSD Package

 sudo pkg install bpytop

Fedora/CentOS 8 Package

 sudo dnf install bpytop

Gentoo/Calculate Linux

 sudo emerge -av sys-process/bpytop

Mageia Cauldron (Mageia 8)

 sudo urpmi bpytop

sudo dnf install bpytop

MX Linux

 http://mxrepo.com/mx/testrepo/pool/test/b/bpytop/

Manual Installation

 git clone https://github.com/aristocratos/bpytop.git

cd bpytop

sudo make install

Tool Uninstallation

 sudo make uninstall

Tool Configuration

All configuration options for the tool can be configured and modified through the UI interface, with the configuration files stored in the “$HOME/.config/bpytop” directory. The configuration file is automatically generated and named bpytop.cfg (/etc/bpytop.conf serves as the default seed for generating the configuration file):

 #? 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 built-in 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 transparency

theme_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 tree

proc_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 percent

proc_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 the path of a mountpoint, "root" replaces "/", separate multiple values with a comma.

#* Begin line with "exclude=" to change to exclude filter, otherwise, 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 the first disk.

swap_disk=True

#* If the 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 scale

net_sync=False

#* If the network graphs color gradient should scale to bandwidth usage or auto scale, bandwidth usage is based on "net_download" and "net_upload" values

net_color_fixed=False

#* Show init screen at startup, the init screen is purely cosmetic

show_init=False

#* Enable check for new version from github.com/aristocratos/bpytop at start.

update_check=True

#* Set log level 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

    --debug               Start with loglevel set to DEBUG overriding value set in config

Screenshots of Tool Operation

The main interface of the tool will display resource usage for selected processes:

Bpytop

Mini Mode of the Main Interface:

Bpytop

Main Menu of the Tool:

Options Menu of the Tool:

Dependency Versions

License Agreement

The development and release of this project adhere to the Apache License 2.0 open-source license agreement.

linux bash bash command