check which IP using bandwidth
Is there a way to check which IP is using the most bandwidth at any one time?
I have a proxy server running and occasionally some users download videos instead of stream them, which hogs the bandwidth on their connection and denies other users access. |
I think ntop will do what you're looking for.
|
Thank you for the app.This may well help me find out if someone is "stealing"my internet.
|
I am trying to run ntop but get this error:
[root ntop]# /usr/local/bin/ntop -i "eth0,tun0,tun1" -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon -bash: /usr/local/bin/ntop: No such file or directory [root ntop]# This is following the how to at: http://www.cyberciti.biz/faq/howto-i...-fedora-linux/ Code:
[root lib]# ntop -i "eth0,tun0,tun1" -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon |
Check for the log messages. Your ntop seems to die as soon as it starts.
|
Quote:
This is the conf: Code:
# tells ntop the user id to run as |
You could check the system log file messages in /var/log. You should get the idea there.
|
Code:
Nov 8 08:07:54 serverxx-xxx-xxx-198 kernel: ip_conntrack version 2.4 (7525 buckets, 60200 max) - 228 bytes per conntrack |
Your configuration file will have no effect if you are running it from command line.
Can you see this: Code:
Initializing ntop |
Quote:
I am running it as root so am not sure what the issue is... |
No usually you do not run ntop as root but as its own user. Why dont you try to configure the config file and run ntop as service. I do this.
|
Well I would suggest using your repositories to install ntop rather than compiling it from source. You can uninstall the current installation and then use yum to install a fresh copy. Also make sure you are deleting all the database files after uninstall is finished.
|
Quote:
Do I login as ntop and then do this? I cannot login as ntop as it says password denied even though I set the password eaerlier. ntop -i "eth0,tun0,tun1" -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon |
Quote:
|
See my earlier post. If you installed ntop from source we can not say if the installation was clean. What I would suggest you is a clean installation from yum repositories.
|
All times are GMT -5. The time now is 06:33 PM. |