Bobcares

Bpytop Monitoring for Linux & FreeBSD Resources

by | Jan 4, 2021

Bpytop Monitoring for Linux & FreeBSD Resources is a Python-based resource monitor for the terminal.

At Bobcares, we configure Bpytop for our customers using a Linux machine as a part of our Server Management Services.

Today let’s see how our Expert Support Techs configure bpytop monitoring with some quick and easy steps.

What is Bpytop Monitoring?

Bpytop is a Python-based resource monitor for the terminal, it is an improved version of the normal top and a Python port of bashtop.

Also, it allows us to fully customize our themes to get the colors and look that we prefer.

This tool monitors usage and stats for processors, memory, disks, network, and processes.

Thus we can use Bpytop monitoring for Linux & FreeBSD Resources.

 

Installing of Bpytop monitoring for Linux & FreeBSD Resources

Bpytop monitoring for linux & FreeBSD Resources can be done easily with the following methods used by our Support Techs

First, we need to install Python3 and psutil module (v5.7.0 or later) in all Linux distributions and FreeBSD.

Install python3, psutil, and git with a package manager.

UBUNTU

$ sudo apt -y update && sudo apt -y upgrade
$ sudo apt install -y python3-pip git gcc python3-dev
$ sudo pip3 install psutil

CENTOS

$ sudo yum install update
$ sudo yum install python3 install gcc python3-devel git
$ sudo pip3 install psutil

FREEBSD

$ sudo pkg install git python3 py37-psutil

ARCH LINUX | MANJARO

$ sudo pacman -S python python-psutil

Once we have all the dependencies installed, we install bpytop either manually or with Snap.

1. Manual Installation

FREEBSD

$ sudo pkg install bpytop

OR

$ cd ~
$ git clone https://github.com/aristocratos/bpytop.git
$ cd bpytop
$ sudo make install

UBUNTU

<code$ cd ~
$ git clone https://github.com/aristocratos/bpytop.git
$ cd bpytop
$ sudo make install

CENTOS

<code$ cd ~
$ git clone https://github.com/aristocratos/bpytop.git
$ cd bpytop
$ sudo make install
2. Installation via Snap

The following command can be given to set up Bpytop monitoring via Snap.

DEBIAN

$ sudo apt update
$ sudo apt install snapd
$ sudo snap install core
$ sudo snap install bpytop

UBUNTU

$ sudo apt update
$ sudo apt install snapd
$ sudo snap install bpytop

CENTOS

$ sudo yum install epel-release
$ sudo yum install snapd
$ sudo systemctl enable --now snapd.socket
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install bpytop

RHEL 8

$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
$ sudo dnf upgrade
$ sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
$ sudo yum update
$ sudo yum install snapd

ARCH LINUX | MANJARO

$ sudo pacman -S snapd
$ sudo systemctl enable --now snapd.socket
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install bpytop

FEDORA

$ sudo dnf install snapd
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install bpytop

After installing bpytop using Snap, we need to make sure that the requisite permissions are as follows:

$ sudo snap connect bpytop:mount-observe
$ sudo snap connect bpytop:network-control
$ sudo snap connect bpytop:hardware-observe
$ sudo snap connect bpytop:system-observe
$ sudo snap connect bpytop:process-control
$ sudo snap connect bpytop:physical-memory-observe

[Need assistance? We can help you!]

How to use bpytop monitoring?

To use bpytop, we can simply type in the name as it is to launch bpytop.

$ 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

Bpytop Monitoring for Linux & FreeBSD Resources

Some of the common uses of Bpytop Monitoring are:

1. Filter processes

To filter processes by a specific string, press keyboard keys (F, f) keys and then type the string name.

2. Changing view mode

Press “m” whenever we need to change to the minimal mode or lesser metrics.

3. Configuring themes

There are two ways of configuring the themes that we wish to keep.

The first one is the configuration file way. Config files are stored in “$HOME/.config/bpytop” folder.

$ vim ~/.config/bpytop/bpytop.conf

The second way is via bpytop interface itself. Open Bpytp by using the command and then press “Esc” key to get the Menu items.

Choose “Options” using the up/down arrow keys. Under “Options” we will find many other options to set “Color themes”, “Theme background“, “Proc tree“, “Proc colors” etc.

To close bpytop interface, hit “q” for quit.

[Need assistance? We can help you!]

Conclusion

To conclude, we discussed how to use Bpytop Monitoring for Linux & FreeBSD Resources. Also, we saw the methods used by our Support Engineers to set up this.

 

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF