If you have a Debian based server like Ubuntu you might be interested in finding out how much bandwidth each user uses.
Ipband – A cool tool to monitor your LAN regarding traffic
Install : apt-get install ipband
How to use :
ipband eth1 -f "net 192.168.0.0/24" -a 60 -r 60 -o /home/user/log.txt
eth1 = the network card to monitor
-f “net 192.168.0.0/24 “ = will monitor every host in your lan
-a = how often total traffic and bandwidth should be calculated ( in our case for a time period of 60 seconds )
-r = Reporting period – number of seconds bandwidth threshold may be exceeded before it should be reported.
-o = the file where you want to keep your log
Questions:
1. Does it support wlan?
2. When I execute the command I get an error of:
Warning: Kernel filter failed: Invalid argument
compile: non-network bits set in “192.168.1.2/24″Aborted
Am I missing something?
1.Yes
2.One or some of your command arguments are wrong. What are you typing in your shell?
sudo ipband wlan0 -f “net 192.168.1.0/24″ -a 60 -r 60 -o /home/user/ipbandlog.txt
then it prompted for sudo then nothing happens before i hit CTRL+C and there is no log file output.
/home/user/ipbandlog.txt
That’s the problem.
Use your username instead of -user- ; the output path is not right
I meant /home/my_name not as what literate /home/user
Are you waiting 60 seconds ?
If you do it’s probably because of the -r 60 parameter. Try lowering that value.
yeah i did. any concern on firewall or linux kernel?
The kernel or firewall shouldn’t be a problem.May be the wireless is not supported like you initially asked. Try the ubuntu irc channel / forum or on the official site.Let me know if you find out anything.
thanks