• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to monitor Real time bandwidth - bmon tool

{{postValue.id}}

To monitor bandwidth time using bmon tool

Bandwidth leakage will impact a delay response from any running application. Bmon or Bandwidth Monitoring tool is used for debugging and monitoring bandwidth. It retrieves statistics from other input modules. This article guides with the installation of bmon tool.


To Install bmon

Before installing bmon, install the wajig package by using the following command.

root@user1:~# apt-get install wajig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  aptitude aptitude-common libcwidget3v5
Suggested packages:
  apt-xapian-index aptitude-doc-en | aptitude-doc debtags tasksel
  libcwidget-dev reportbug apt-move dpkg-repack alien apt-file deborphan vrms
  apt-show-versions dctrl-tools debsums netselect-apt chkconfig
The following NEW packages will be installed:
  aptitude aptitude-common libcwidget3v5 wajig
0 upgraded, 4 newly installed, 0 to remove and 268 not upgraded.
Need to get 2,383 kB of archives.
After this operation, 10.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
.
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode
Setting up wajig (2.17) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

installation-Bmon-or-Bandwidth-Monitoring-tool-monitor-bandwidth-time-install

Now install the bmon using wajig command.

root@user1:~# wajig install bmon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libconfuse-common libconfuse0 libnl-route-3-200
The following NEW packages will be installed:
  bmon libconfuse-common libconfuse0 libnl-route-3-200
0 upgraded, 4 newly installed, 0 to remove and 268 not upgraded.
Need to get 193 kB of archives.
After this operation, 745 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
.
Setting up libconfuse0:amd64 (2.7-5) ...
Setting up libnl-route-3-200:amd64 (3.2.27-1) ...
Setting up bmon (1:3.8-2build1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

To launch bmon

Once the installation is completed, run bmon.

root@user1:~# bmon

installation-Bmon-or-Bandwidth-Monitoring-tool-monitor-bandwidth-time-launch-bmon

Bmon graph is divided into the following parts

The first row &rarr displays the available interfaces, receive and transfer transmits. This rows is portrayed by the letter l meaning list view.
The second row &rarr displays the graphical statistics. If the graph is not visible, then hit g.
The third row &rarr displays the full statistics of the receive and transfer activity.
The fourth row &rarr displays any miscellaneous additional information.

bmon operates with the cursor mode by default.

To Set input modules

Use -i option to define modules in bmon.

root@user1:~# bmon -i proc

installation-Bmon-or-Bandwidth-Monitoring-tool-monitor-bandwidth-time-Set-input-modules
To know more input modules hit question mark button (?)
installation-Bmon-or-Bandwidth-Monitoring-tool-monitor-bandwidth-time-input-modules

To Set output modules

Use -o option to set the output modules.

root@user1:~# bmon -o ascii
Interfaces RX bps pps % TX bps pps %
lo 0 0 0 0
qdisc none (noqueue) 0 0 0 0
ens33 0 0 0 0
qdisc none (pfifo_fast) 0 0 0 0
Interfaces RX bps pps % TX bps pps %
lo 0 0 0 0
qdisc none (noqueue) 0 0 0 0
ens33 0 0 0 0
qdisc none (pfifo_fast) 0 0 0 0
Interfaces RX bps pps % TX bps pps %
lo 0 0 0 0
qdisc none (noqueue) 0 0 0 0
ens33 0 0 0 0
qdisc none (pfifo_fast) 0 0 0 0 . . .

To set specific interface

Use -p option to set a specific interfaces.

root@user1:~# bmon -p ens33

installation-Bmon-or-Bandwidth-Monitoring-tool-monitor-bandwidth-time-set-specific-interface

To set read interval

To alter the read interval in bmon, use -r option.

By default, Bmon displays the status for every 1 seconds

root@user1:~# bmon -r 10

installation-Bmon-or-Bandwidth-Monitoring-tool-monitor-bandwidth-time-set-read-interval
utilise the following command to know more about bmon.

root@user1:~# bmon --help

Tags:
ethan
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to source install bmon on centos7?

A

run the following steps,
git clone https://github.com/tgraf/bmon.git
cd bmon
yum install make libconfuse-devel libnl3-devel libnl-route3-devel ncurses-devel
./autogen.sh
./configure
make
make install
bmon

Q

Purpose of using the bmon tool?

A

Bandwidth leakage will impact a delay response from any running application. Bmon or Bandwidth Monitoring tool is used for debugging and monitoring bandwidth. It retrieves statistics from oth

Q

I got a lot of errors when installing on centos. what will do?

A

Check dependencies package,
# yum install git autoconf automake gcc

Q

Alternative for bmon tool?

A

Nload,iftop, iptraf, nethogs, slurm, and much more.

Q

I am facing issues about nagios users for viewing particular host and services. please help me how i can create user in nagios core and dedicate host to that user?

A

Follow the steps below:
1- Start by creating new contact definitions for your client, for example: contact_name user1.
2- Then create contact groups or you can add the new contact for you existing group, depending on the checks that you want to permit.
3- Closely use the new Contact Group with customers email and your main admin. Note you can either use existing Host Groups or create new HostGroups if you choose to.
4- Finally, add htaccess user to your htpasswd file (htpasswd.users), it important that the username matches the name on your Contact(user1).

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help keel johnston ?
Unhide the folders on windows Explorer

Give any solutions to unhide folder using command prompt?

forum3

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.