The cbm (Color Bandwidth Meter) utility is a lightweight console-based tool that visualises network interface throughput in real time with colour-coded reception and transmission graphs. Minimal Linux server distributions, container base images, and cloud server instances omit cbm by default, returning the bash: cbm: command not found error when executing network inspections.
Install cbm on Ubuntu, Debian, and Derivatives
On Debian and Ubuntu systems, cbm is maintained directly in the universe software repositories:
- Update your local package lists:
sudo apt update - Install the
cbmpackage:sudo apt install -y cbm - Confirm successful installation and launch the live monitor:
which cbm cbm
Install cbm on Fedora, CentOS, and RHEL Clones
On enterprise Linux distributions, cbm can be compiled directly or installed via extra package repositories:
- On Fedora systems, install
cbmvia DNF:sudo dnf install -y cbm - On RHEL or AlmaLinux, if binary packages are not present in EPEL, install build prerequisites and compile from source:
sudo dnf install -y gcc make ncurses-devel git clone https://github.com/resurrecting-open-source-projects/cbm.git cd cbm && make && sudo make install
Install cbm on Arch Linux and Navigation Tips
For rolling distributions:
- On Arch Linux, install directly from the extra repositories:
sudo pacman -Syu cbm - Once launched, navigate between active network interfaces using the Up and Down arrow keys.
- Press b to toggle between megabits/second (Mbps) and megabytes/second (MB/s).
- Press q to safely exit the curses monitor.