1. Home
  2. Linux

How to Manage Linux system resources in style with Bpytop

Bpytop is an advanced, terminal-based control center for Linux. With it, users can view and manage their CPU usage, RAM/SWAP usage, network download/upload, and even terminate running programs! 

In this tutorial, we’ll walk you through how to set up the Bpytop app on Linux. We’ll also go over how to use it too.

Installing Bpytop on Linux

The Bpytop is an impressive program with excellent graphics despite it being a terminal application. But, it doesn’t come pre-installed on any mainstream Linux operating systems. As a result, we must demonstrate how to set it up before we go over how to use it.

To start the installation of Bpytop on your Linux PC, launch a terminal window. Once the terminal window is open and ready to go, follow the installation instructions outlined below that corresponds with the Linux operating system, you are currently using.

Snap package

Bpytop is available in the Snap app store, and it’s the best way to get the app working. The reason? All of the dependencies are taken care of, and there’s no need to install them manually.

Installing Bpytop on Linux starts by first enabling the Snapd runtime on your system. The Snapd runtime is a tool that runs in the background and manages Snaps on your system. To enable Snapd, follow our in-depth guide on the subject

After you’ve set up the Snapd runtime on your computer, the installation of Bpytop can begin. Using the snap install command below, install the latest release of Bpytop.

sudo snap install bpytop

Following the installation of Bpytop, you must connect it to various components on your computer. If you do not make these connections, the app will not monitor and manage things like your CPU, processes, etc. 

  1. Connect the app to “mount-observe”.
sudo snap connect bpytop:mount-observe
  1. Connect the app to “network-control.”
sudo snap connect bpytop:network-control
  1. Connect Bytop to “hardware-observe.”
sudo snap connect bpytop:hardware-observe
  1. Connect Bytop to “system-observe.”
sudo snap connect bpytop:system-observe
  1. Connect the program to “process-control.”
sudo snap connect bpytop:process-control
  1. Connect the Bytop program to “physical-memory-observe.”
sudo snap connect bpytop:physical-memory-observe
  1. Once all of the connections are taken care of, you can directly launch the Bpytop program through the terminal using the following command.
sudo bpytop

Debian 11

On Debian 11, Bpytop is in the official software repositories. If you’re a Debian 11 user, follow the command below to get Bpytop installed. If you are not a Debian 11 user and are using Debian 10, follow our guide to install Debian 11.

sudo apt-get install bpytop

Fedora

Bpytop is available to Fedora Linux users within the Fedora software repositories. To install it, enter the command below in a terminal.

sudo dnf install bpytop

Arch Linux AUR

The Bpytop application is available for Arch Linux users in the Arch Linux AUR. To install the program on your computer, start by entering the following Pacman command below.

sudo pacman -S git base-devel

After running the Pacman command above, enter the commands below to install the Trizen AUR helper tool. This tool will make setting up Bpytop on Arch Linux much simpler. 

git clone https://aur.archlinux.org/trizen.git

cd trizen

makepkg -sri

Once the Trizen AUR helper is installed on your Linux PC, use the makepkg command to set up Bpytop.

trizen -S bpytop

Python package

If you can’t use Snap packages or the Arch Linux AUR or the Debian installation method, you’ll need to build Bpytop from the source code via Python. To do this, refer to the project’s GitHub page and follow the instructions to get going.

Using Bpytop

Bpytop is a terminal program. To access it, open up your favorite terminal app and execute the following command.

sudo bpytop

Once the Bpytop app is open, you’ll see an overview of your system. At the top, you’ll see the CPU area, which shows CPU performance and CPU core usage. Below that, you’ll see memory usage, network usage, and a process manager.

Bpytop is a very complex program, especially if you’re new to Linux. Follow along below to learn how to use the app.

CPU

To monitor your CPU usage in Bpytop, look in the “CPU” section of the app. From there, look to the green line graph. This graph represents CPU usage. Larger lines represent more usage; smaller means lower usage.

Aside from the graph, you can also see a breakdown of how your CPU is performing per-core by looking at the box with your CPU’s name on it. It’ll show you a complete analysis of how each core is being used and what speed your CPU is currently clocked at.

Memory

Need to figure out how much RAM and DISK you are using? Take a look at the graphs in the “MEM” box. The red graph represents system memory in use. The yellow graph represents available memory, and the blue graph represents free memory.

In addition to the graphs, you’ll also see the “Disks” box. This box shows how much each file-system connected to your CPU is using. For example, “swap” under the “Disks” section can show you how much of your system’s SWAP (virtual memory) is in use, etc.

Network

In the “Net” box for Bpytop, you can monitor your upload speed and download speed. To view your upload speed, look to the blue section of the graph in “Net.” Blue represents upload. To view download speed, look at the purple area of the graph.

Aside from the graph, the “Net” box also lists out speed in the text box next to the graph.

Processes

Bpytop allows you to manage your processes running on your Linux system. Here’s how to do it. First, look at the “proc” box. In this box, you’ll see a long list of each program running on the system, denoted by the user.

Using the mouse, scroll through the list, find the app you wish to kill (AKA close), and select it by clicking. After choosing the program, press the button on the keyboard to instantly kill it.

Alternatively, if the command doesn’t work, you can also end programs by pressing (terminate) or (interrupt).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.