From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Fri, 08 Feb 2002 08:15:37 +0000 Subject: Re: [LARTC] traffic monitoring: help regarding Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Friday 08 February 2002 09:24, Project Work wrote: > Hello, > We are doing a project on bandwidth management. We are controlling the > outgoing bandwidth using HTB. Currently we are viewing the traffic rate > using tc. We want to extract the rate of the traffic, the number of > packets and then display on our interface in real time (traffic > monitoring). I'm currently working on a tool to do this. For now, it takes the output of tc and generates three grahs for each qdisc/class : packet/s, byes/s, size of packets. It's not real-time (runs from crontab each 5 minutes) to collect the data and creates the images on the fly. I also want to parse the output from iptables so you can make graphs of all traffic you want. I also searched for a script to view this graphs in real time, but I have no idea to do this :-(. I wrote a perl script that generates somthing in html, but it looks awfull. It uses the output of iptables. You can find this all on www.docum.org (graphs under GUI and realtime monitor under monitor.pl). I really want to create something usefull and any help is appreciated. > We also want to control the incoming bandwidth based on IP, > Protocol etc. Could you please suggest ways for doing these. You can use a dedicated box to shape the traffic and place it between the link and the network. -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/