The bmon is a command line tool that allows to monitor network bandwidth. This tool can listen to the network traffic on multiple interfaces at the same time. Bandwidth usage is displayed in the table and graphs. The bmon also provides detailed statistics.
This tutorial shows how to install bmon on Raspberry Pi.
Connect to Raspberry Pi via SSH and make sure the package lists are up-to-date:
sudo apt update
Then run the following command to install bmon:
sudo apt install -y bmon
After installation we can check version of bmon:
To view network bandwidth usage on all available interfaces, run the
bmon command without any arguments:
You can also use
-p option to monitor the bandwidth usage only on specific interface:
bmon -p wlan0
To view detailed statistics press
d key. Additional information is provided when
i key is pressed. Don't forget to expand the terminal height. Press the
q key if you want to exit bmon.
If bmon is no longer necessary, you can completely remove it and related dependencies using the following command:
sudo apt purge --autoremove -y bmon