In this tutorial, we will show you how to install Bmon on Ubuntu 22.04 LTS. For those of you who didn’t know, Bmon a.k.a Bandwidth monitor is a command-line tool used to monitor and analyze network traffic and bandwidth usage. It provides a real-time view of network traffic in a terminal window, making it a useful tool for network administrators and users who need to keep track of their network bandwidth usage. Bmon also supports several network interfaces, including Ethernet, Wi-Fi, PPP, and loopback. It also supports different output formats, including plain text, CSV, and JSON.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Bmon network monitoring tool on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
Prerequisites
- A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for Bmon.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Bmon on Ubuntu 22.04 LTS Jammy Jellyfish
Step 1. First, make sure that all your system packages are up-to-date by running the following apt
commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install wget apt-transport-https gnupg2 software-properties-common
Step 2. Installing Bmon Bandwidth Monitor on Ubuntu 22.04.
By default, Bmon is available on Ubuntu 22.04 base repository. Now run the following command below to install the latest version of Bmon to your Ubuntu system:
sudo apt install bmon
After installation, you can verify if Bmon is installed on your system by running the following command:
bmon -v
Step 3. Using Bmon to Monitor Network Traffic.
To use Bmon, open your terminal window and run the following command:
sudo bmon
This command will start Bmon and display network traffic information in real time. By default, Bmon displays network traffic for all interfaces.
You can also specify a specific network interface to monitor by using the following command below:
sudo bmon -i eth0
In this example, we are monitoring the eth0 interface. You can replace eth0 with the name of the interface you want to monitor.
Bmon provides several options to customize the output format, including changing the unit of measurement, displaying the maximum and average throughput, and more. You can find more information about bmon’s options by running the following command:
man bmon
Congratulations! You have successfully installed Bmon. Thanks for using this tutorial for installing the Bmon monitoring and debugging tool on Ubuntu 22.04 LTS Jammy Jellyfish system. For additional help or useful information, we recommend you check the official Bmon website.