Monitoring network bandwidth with bwm-ng


There are a bunch of utilities available to monitor bandwidth utilization on Linux hosts, and I’ve touched on a few in previous posts. I recently came across bwm-ng while perusing the Debian package repository, and decided to try it out. When bwm-ng is executed without any arguments, it provides a relatively simple curses interface with throughput statistics for each interface in the system:

$ bwm-ng

bwm-ng v0.6 (probing every 0.500s), press 'h' for help
input: /proc/net/dev type: rate
| iface Rx Tx Total
==============================================================================
lo: 0.00 KB/s 0.00 KB/s 0.00 KB/s
eth0: 2275.89 KB/s 57.56 KB/s 2333.45 KB/s
------------------------------------------------------------------------------
total: 2275.89 KB/s 57.56 KB/s 2333.45 KB/s

But the simplicity of the tool stops there, since there are a SLEW of options to control the output format, and whether or not sampled data is written to a file. This is a nifty utility, but I think I will stick with iftop.

This article was posted by Matty on 2009-03-14 11:03:00 -0400 -0400