BWM-NG

Monitoring Network Bandwidth and Disk I/O using BWM-NG


BWN-NG (Bandwidth-NG) is old and simple tool to monitor the bandwidth and disk I/O including the RAMdisk usage, this tool really helps the administrator to quickly monitor the bandwidth and disk I/O usages. Installation is pretty simple which can be done in just 2 minutes.The latest version 0.6 includes the disk I/O monitoring features but the older version does not have this features enabled. So make sure you have the 0.6 version if you setting up bwn-ng to monitor your disk I/O.

Features

  • * supports /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats /proc/partitions, IOKit, devstat and libstatgrab
    * unlimited number of interfaces/devices supported
    * interfaces/devices are added or removed dynamically from list
    * white-/blacklist of interfaces/devices
    * output of KB/s, Kb/s, packets, errors, average, max and total sum
    * output in curses, plain console, CSV or HTML
    * configfile

Install bwm-ng


Installation bwm-ng from source is pretty simple, just download the tar from http://www.gropp.org/bwm-ng/

  • cd /usr/src
    wget http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz
    tar zxvf bwm-ng-0.6.tar.gz
    cd bwm-ng-0.6
    ./configure && make && make install

Type bwm-ng -h and make sure you are able to see the command help menu

Network Monitoring using bwm-ng

Use the

  • bwm-ng -u bits -d
    bwm-ng -u bytes -d

Options to see all the NIC status in bits and bytes and -d is for dynamic output which displays in the KB/s and MB/s dynamically.

Network Monitoring

Disk I/O monitoring using bwn-ng


Monitoring disk I/O is pretty simple with bwn-ng

  • bwm-ng -u bytes¬† -i disk

Will list all the usage including the RAMdisk/dm and RAID I/O etc

Disk Usage

Useful links :


TCP connection monitoring using TCPtrack

Server Monitoring using Tload Command

Installing HTOP