CBM – Shows Network Bandwidth in Ubuntu

CBM (Color Bandwidth Meter) is a simple tool that shows the current network traffic on all connected devices in colors in Ubuntu Linux. It is used to monitor network bandwidth. It shows the network interface, bytes received, bytes transmitted and total bytes.

Read Also: iftop – A Real Time Linux Network Bandwidth Monitoring Tool

In this article, we will show you how to install and use cbm network bandwidth monitoring tool in Ubuntu and its derivative such as Linux Mint.

How to Install CBM Network Monitoring Tool in Ubuntu

This cbm network bandwidth monitoring tool is available to install from the default Ubuntu repositories using the APT package manager as shown.

$ sudo apt install cbm

Once you have installed cbm, you can start the program using the following command.

$ cbm 
Ubuntu Network Bandwidth Monitoring
Ubuntu Network Bandwidth Monitoring

While cbm is running, you can control its behavior with the following keys:

  • Up/Down – arrows keys to select an interface to show details about.
  • b – Switch between bits per second and bytes per second.
  • + – increase the update delay by 100ms.
  • -- – decrease the update delay by 100ms.
  • q – exit from the program.

If you are having any network connection issues, check out MTR – a network diagnostic tool for Linux. It combines the functionality of commonly used traceroute and ping programs into a single diagnostics tool.

However, to monitor multiple hosts on a network, you need robust network monitoring tools such as the ones listed below:

    1. How to Install Nagios 4 in Ubuntu
    2. LibreNMS – A Fully Featured Network Monitoring Tool for Linux
    3. Monitorix – A Lightweight System and Network Monitoring Tool for Linux
    4. Install Cacti (Network Monitoring) on RHEL/CentOS 7.x/6.x/5.x and Fedora 24-12
    5. Install Munin (Network Monitoring) in RHEL, CentOS and Fedora

That’s it. In this article, we have explained how to install and use cbm network bandwidth monitoring tool in Ubuntu and its derivative such as Linux Mint. Share your thoughts about cbm via the command form below.

If this article helped, with someone on your team.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
TecMint has been free for 14 years. Help keep it that way.
Google AI Overviews and tools like ChatGPT have cut into search traffic for independent tech sites like TecMint. Running this site costs over $2,000 every month for hosting, infrastructure, and paying authors to keep the content accurate and tested.

If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.
☕ Buy Me a Coffee
Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

1 Comment

Leave a Reply
  1. Hi,

    I have just installed CBM as per your instructions and it seems to work ok. I was expecting it however to show a TOTAL amount acquired over time, but it does not seem to do it. As soon as a download or surfing session is complete, everything zeros again. Am I missing something or is this all it does?

    Respectfully… Mike

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.

Free Course
Get a free Linux course before you go.
Subscribe to TecMint Weekly and get the Learn Linux 7 Days Crash Course free. Read by 34,000+ Linux professionals every Thursday.
Something went wrong. Please try again.
Check your email for a magic link to get started.