LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bandwidth monitoring (https://www.linuxquestions.org/questions/linux-networking-3/bandwidth-monitoring-74247/)

vinhhv 07-20-2003 03:04 AM

Bandwidth monitoring
 
Hello all,
I'm using Squid for proxy server but in my LAN has many user download file and sometime internet connection is down.
Can i monitor and control bandwidth with Squid? Or in Linux can support it ?
Thank you very much

Robert0380 07-20-2003 06:41 AM

i have never used it so all i can do is throw it out there.

snmp (Simple Network Monitoring Protocol)

i'd suggest maybe looking for tools online for such a thing if none come with your linux distribution. i have never needed anything of the sort so i cant really offer any suggestions.

MooktaKiNG 07-20-2003 06:47 AM

I'm also looking for a monitoring system. I'm looking for a console based, so i can ssh to the box and run it.

If anyone knows of one please let us know :D:D

ppuru 07-20-2003 07:10 AM

use mrtg or rrdtool

MooktaKiNG 07-20-2003 08:53 AM

Is there a realtime console based or webbased network monitoring system?

i hope there is, please say there is :D:D

kjetil84 07-20-2003 09:39 PM

I use iptraf, its great if you configure it so it resolves the MAC addresses to a name you specify.
You can run it in Lan-station monitor mode to se how much each computer in your LAN is using..

ppuru 07-21-2003 01:33 AM

MRTG comes bundled with RedHat and perhaps Slackware too and you can use your browser to monitor bandwidth usage.

SNMP+MRTG+Apache on Server

and

any browser to connect to the MRTG page.

pavgust 07-21-2003 02:06 AM

For a slightly more elegant and systematic approach, you could use iptables - built into any recent kernel. This allows you to keep track of bandwidth with a precision of single packets... ;)

Have a look at

http://www.oreilly.com/catalog/linag2/book/index.html

if you're interested, especially Chapter 10 - IP Accounting, although the others are excellent reading material on basic networking as well.

Good luck...

thanhnx 07-21-2003 04:12 AM

more than monitor, you can manage the traffic with usefull tool named tc (a part of iproute2+tc ).


All times are GMT -5. The time now is 01:00 PM.