>It is important to know traffic usage of your client if you’re a Linux network administrator. You can monitor your client in [text mode](http://infodotnet.blogspot.com/2007/12/linux-bmon-realtime-bandwidth-monitor.html), graphic mode or html exported like mrtg, cacti or bandwidthd and one of my favorite bandwidth monitor is [bandwidthd](http://infodotnet.blogspot.com/2007/12/monitoring-bandwidth-per-ip-with.html).
[![](https://1.bp.blogspot.com/_nhupnqfz6xI/R7eNoEvv-UI/AAAAAAAAAjQ/AQfRZfk4BJE/s320/bandwidthd2.jpg)](https://1.bp.blogspot.com/_nhupnqfz6xI/R7eNoEvv-UI/AAAAAAAAAjQ/AQfRZfk4BJE/s1600-h/bandwidthd2.jpg)
You don’t need any database or snmp connection to monitor all of your client on bandwidthd, all you need just [libcap](http://www.tcpdump.org/), [libpng](http://www.libpng.org/), [libgd](http://www.boutell.com/gd/) and [apache](http://httpd.apache.org/)installed on your Linux system. And other good news is bandwidthd monitor all of your connected client per IP and per connection protocol.
**Requirements**
*gcc libpng libiconv_open libiconv libc6-dev libc6-dev-i386 libc-dev-i386 libgdiplus.i386 libpng-devel libgdiplus-devel.i386 gd-devel libpcap-devel.i386*
[![](https://4.bp.blogspot.com/_nhupnqfz6xI/R7eNw0vv-VI/AAAAAAAAAjY/NlCyrREfJbI/s320/bandwidthd1.jpg)](https://4.bp.blogspot.com/_nhupnqfz6xI/R7eNw0vv-VI/AAAAAAAAAjY/NlCyrREfJbI/s1600-h/bandwidthd1.jpg)
Installing Bandwidthd
Prepare your Linux and download bandwidthd for Linux [here](http://bandwidthd.sourceforge.net/). Next extract bandwidth using tar -zxvf command.
[![](https://2.bp.blogspot.com/_nhupnqfz6xI/R7eRcUvv-WI/AAAAAAAAAjg/gksWzprWozY/s320/bandwidthd3.jpg)](https://2.bp.blogspot.com/_nhupnqfz6xI/R7eRcUvv-WI/AAAAAAAAAjg/gksWzprWozY/s1600-h/bandwidthd3.jpg)
Goto extracted directory and type ./configure && make install to install bandwidth to your system.
Configuring Bandwidthd
By default all installed bandwidthd files placed on/usr/local/bandwidthd/folder. Now goto bandwidthd installed directory and CD to etc, you’ll find bandwidthd config file there. Open bandwidthd.conf using your favorite text editor like vi or nano and start edit bandwidthd config file suit your network.
[![](https://1.bp.blogspot.com/_nhupnqfz6xI/R7eUkEvv-XI/AAAAAAAAAjo/WJmXYgKHQbA/s320/bandwidthd4.jpg)](https://1.bp.blogspot.com/_nhupnqfz6xI/R7eUkEvv-XI/AAAAAAAAAjo/WJmXYgKHQbA/s1600-h/bandwidthd4.jpg)
Save your config and start bandwidthd using/usr/local/bandwidthd/bandwidthd. Put that command to your /etc/rc.localfile so bandwidthd can start on every time Linux boot.
Configuring Apache
You will can’t see your graphic report until you set/usr/local/bandwidthd/htdocs/folder to set as apache virtual directory. Add below line to your apache config file.
Alias /bandwidthd “/usr/local/bandwidthd/htdocs”
Order Allow,Deny
Allow from All
Save your work and restart apache. Next open your browser and point to http://yourlinuxserver/bandwidth.
Happy trying and good luck.