Hi, I run tc to limit bandwidth. Howerver, how to measure bandwidth? regards, Chuanbo Xu iproute2@btamail.net.cn
On Fri, 15 Jun 2001, Chuanbo Xu wrote:> I run tc to limit bandwidth. Howerver, how to measure bandwidth?It depends. There are some special tools for generating traffic, but it''s often good enough to start a simple download (FTP or HTTP) and look at the provided rate. What do you want to measure exactly? Describe the situation if you feel that FTP or HTTP wouldn''t suffice. -- GnuPG public key: http://www.keyserver.net fingerprint = A3C4 DE50 712D 4FA8 C564 4D96 5E06 C9CC ECFA 19C5
On Fri, Jun 15, 2001 at 01:48:17PM +0800, Chuanbo Xu wrote: I use iptraf, is a very handy tool to meter bandwith http://cebu.mozcom.com/riker/iptraf Good luck!> Hi£¬ > > I run tc to limit bandwidth. Howerver, how to measure bandwidth? > > regards, > > Chuanbo Xu > iproute2@btamail.net.cn > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/-- Javier Miguel Rodríguez. (GUFO) Miembro del grupo Linux de la Facultad de Informática de Sevilla -o) http://talika.fie.us.es/linux /\\ Linux Registered User #145051. _\_V
Hi, This is a monitor tool, but measure. I want to measure max bandwidth, when I limit it with tc. regards, Chuanbo Xu iproute2@btamail.net.cn You writes:>On Fri, Jun 15, 2001 at 01:48:17PM +0800, Chuanbo Xu wrote: > > I use iptraf, is a very handy tool to meter bandwith > > http://cebu.mozcom.com/riker/iptraf > > > Good luck! > > >> Hi, >> >> I run tc to limit bandwidth. Howerver, how to measure bandwidth? >> >> regards, >> >> Chuanbo Xu >> iproute2@btamail.net.cn >> >> >> _______________________________________________ >> LARTC mailing list / LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ > >-- >Javier Miguel Rodr韌uez. (GUFO) >Miembro del grupo Linux de la Facultad de Inform醫ica de Sevilla -o) >http://talika.fie.us.es/linux /\\ >Linux Registered User #145051. _\_V > >_______________________________________________ >LARTC mailing list / LARTC@mailman.ds9a.nl >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Chuanbo Xu wrote:> > Hi > > This is a monitor tool, but measure. > I want to measure max bandwidth, when I limit it with tc.Try http://www.citi.umich.edu/projects/qbone/generator.html gen_send and gen_recv provide a testbed for UDP variable length packet generation, and metrics of bandwidth and packet loss. The only drawback I see is that the logfiles are not updated in a timely fashion so that one could apply periodic Bronc or other graphing tools for rapid visualization. Gerry -- Gerry Creager -- gerry@cs.tamu.edu Network Engineering |Research focusing on Academy for Advanced Telecommunications |Satellite Geodesy and and Learning Technologies |Geodetic Control Texas A&M University 979.458.4020 (Phone) -- 979.847.8578 (Fax)
Hi Stef Coene, error: ''Illegal division by zero at ./monitor.pl line 115'' regards, Chuanbo Xu iproute2@btamail.net.cn You writes:>Chuanbo Xu wrote: >> >> Hi, >> >> I run tc to limit bandwidth. Howerver, how to measure bandwidth? >> >> regards, >> >> Chuanbo Xu >> iproute2@btamail.net.cn >> >> _______________________________________________ >> LARTC mailing list / LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ >Again, take a look at my website. I use firewall rules th count the >bytes and to calculate the bandwidth. I make a script to do this : >monitor.pl > > >-- > >Stef > >More QOS info : http://users.belgacom.net/staf/
Hi Stef Coene, I execute time_ms.exe and get 2 numbers. Put it and monitor.pl in the same directory. Execute monitor.pl, and get the same error. regards, Chuanbo Xu iproute2@btamail.net.cn You writes:>Chuanbo Xu wrote: >> >> Hi Stef Coene, >> >> error: >> ''Illegal division by zero at ./monitor.pl line 115'' >You need to download time_ms.exe from the same site, make it executable, >try to execute it (it should give you 2 numbers : time in seconds and >time in miliseconds), put it somewhere in your path and try again. > > >Stef > >> >> regards, >> >> Chuanbo Xu >> iproute2@btamail.net.cn >> >> You writes: >> >Chuanbo Xu wrote: >> >> >> >> Hi, >> >> >> >> I run tc to limit bandwidth. Howerver, how to measure bandwidth? >> >> >> >> regards, >> >> >> >> Chuanbo Xu >> >> iproute2@btamail.net.cn >> >> >> >> _______________________________________________ >> >> LARTC mailing list / LARTC@mailman.ds9a.nl >> >> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ >> >Again, take a look at my website. I use firewall rules th count the >> >bytes and to calculate the bandwidth. I make a script to do this : >> >monitor.pl >> > >> > >> >-- >> > >> >Stef >> > >> >More QOS info : http://users.belgacom.net/staf/ >> >> _______________________________________________ >> LARTC mailing list / LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ > >-- > >Stef > >More QOS info : http://users.belgacom.net/staf/
Chuanbo Xu wrote:> > Hi Stef Coene£¬ > > I execute time_ms.exe and get 2 numbers. > Put it and monitor.pl in the same directory. > Execute monitor.pl, and get the same error.> >You need to download time_ms.exe from the same site, make it executable, > >try to execute it (it should give you 2 numbers : time in seconds and > >time in miliseconds), put it somewhere in your path and try again.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ repeat : put it somewhere in your path. If you execute "echo $PATH" as root in a terminal, you get the path where monitor.pl will search for the program. OR adapt monitor.pl and change time_ms.exe in ./time_ms.exe. -- Stef More QOS info : http://users.belgacom.net/staf/
Hi Stef Coene, I put it in /root, and execute monitor.pl as root. regards, Chuanbo Xu iproute2@btamail.net.cn You writes:>Chuanbo Xu wrote: >> >> Hi Stef Coene, >> >> I execute time_ms.exe and get 2 numbers. >> Put it and monitor.pl in the same directory. >> Execute monitor.pl, and get the same error. > >> >You need to download time_ms.exe from the same site, make it executable, >> >try to execute it (it should give you 2 numbers : time in seconds and >> >time in miliseconds), put it somewhere in your path and try again. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >repeat : put it somewhere in your path. If you execute "echo $PATH" as >root in a terminal, you get the path where monitor.pl will search for >the program. OR adapt monitor.pl and change time_ms.exe in >../time_ms.exe. > > >-- > >Stef > >More QOS info : http://users.belgacom.net/staf/