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 http://prdownloads.sourceforge.net/bwmon/bwmon-1.3.tar.gz?download


Installation


Tested on Linux 2.2.x, 2.4.x and 2.5.x, SuSE and RedHat distributions.
(经鱼漂测试,2.6也是可以用的)


To compile, simply say

$ make

To install, say (optional)

# make install

Or copy bwmon binary where ever you want.

Usage


Linux Network Bandwidth Monitor $Revision: 1.3 $
by Kimmo Nupponen (kimmoon@users.sourceforge.net)

$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!


分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]