Linux Bandwidth Monitor

| |
[不指定 2009/02/23 23:20 | by ipaddr ]

Linux bandwidth monitor (bwmon) is yet another utility that measures bandwidth utiliazation per interface basis. It is coded in C and takes advantage of POSIX thread and curses library. It runs only on Linux systems since the utility reads /proc/net/dev and /proc/uptime.

The utility reads /proc/net/dev and /proc/uptime files in order to print out bandwidth usage at user selected intervals, maximum bandwidth usage since initialization of the utility and average bandwidth usage since the last reboot. This is done per interface basis.

Getting the software

You can download the software from various mirror sites which are listed in


Tested on Linux 2.2.x, 2.4.x and 2.5.x, SuSE and RedHat distributions.

To compile, simply say

$ make

To install, say (optional)

# make install

Or copy bwmon binary where ever you want.


Linux Network Bandwidth Monitor $Revision: 1.3 $
by Kimmo Nupponen (

$Date: 2002/05/08 06:33:09 $
usage: ./bwmon [-b] [-h] [-a] [-m] [-u seconds]
       -a Print bandwidth utiliasation in Kbytes rather than Kbits. The default
          is to use Kbits
       -a Print also average bandwidth since last boot per interface
       -m Print maximum bandwidth since launch of this utility
       -h Print this help message
       -u Update timeout (integer value)
        Use <space-bar> to refresh the screen before update timeout expires
       Use 'q' or 'Q' to exit this utility
Note that you have to have proc mounted to allow this software
to work!

SA | 评论(0) | 引用(0) | 阅读(5707)