LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2003, 03:04 AM   #1
vinhhv
LQ Newbie
 
Registered: Aug 2002
Location: VietNam
Posts: 12

Rep: Reputation: 0
Question 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
 
Old 07-20-2003, 06:41 AM   #2
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
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.
 
Old 07-20-2003, 06:47 AM   #3
MooktaKiNG
Member
 
Registered: Feb 2003
Location: London, UK
Distribution: Gentoo/Debian
Posts: 39

Rep: Reputation: 15
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
 
Old 07-20-2003, 07:10 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
use mrtg or rrdtool
 
Old 07-20-2003, 08:53 AM   #5
MooktaKiNG
Member
 
Registered: Feb 2003
Location: London, UK
Distribution: Gentoo/Debian
Posts: 39

Rep: Reputation: 15
Is there a realtime console based or webbased network monitoring system?

i hope there is, please say there is
 
Old 07-20-2003, 09:39 PM   #6
kjetil84
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
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..
 
Old 07-21-2003, 01:33 AM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.
 
Old 07-21-2003, 02:06 AM   #8
pavgust
Member
 
Registered: May 2003
Distribution: Debian
Posts: 40

Rep: Reputation: 15
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...
 
Old 07-21-2003, 04:12 AM   #9
thanhnx
Member
 
Registered: Jan 2003
Posts: 36

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring Bandwidth RemusX2 Linux - Networking 4 10-15-2005 03:42 PM
bandwidth monitoring,,,,, apenguinlinux Linux - Software 3 01-25-2005 10:19 AM
Bandwidth Monitoring basketkase999 Linux - Software 2 01-13-2005 02:44 PM
Bandwidth Monitoring syntac Linux - Networking 2 04-08-2003 02:17 AM
Bandwidth Monitoring allandire Linux - Networking 1 06-25-2002 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration