Skip to contentSkip to conversation

How to measure bandwidth?

LARTC Chuanbo Xu 1 participant 4 messages Jun 16, 2001 – Jun 18, 2001

lore
Share & tools
lore

Chuanbo Xu

author
#0 lore raw

Hi£¬

This is a monitor tool, but measure.
I want to measure max bandwidth, when I limit it with tc.

regards,

Chuanbo Xu
[email protected]

You writes£º

Quoted 16 lines · Chuanbo Xu

I use iptraf, is a very handy tool to meter bandwith

http://cebu.mozcom.com/riker/iptraf

Good luck!

Quoted 6 lines

Hi£¬

I run tc to limit bandwidth. Howerver, how to measure bandwidth?

regards,

Quoted 17 lines
Quoted 7 lines

Chuanbo Xu
[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

Signature · 8 lines
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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

author
#1 lore raw

Hi Stef Coene£¬

error:
'Illegal division by zero at ./monitor.pl line 115'

regards,

Chuanbo Xu
[email protected]

You writes£º

Quoted 11 lines
Quoted 10 lines · Chuanbo Xu

Hi£¬

I run tc to limit bandwidth. Howerver, how to measure bandwidth?

regards,

Chuanbo Xu
[email protected]

Quoted 13 lines
Quoted 3 lines

_______________________________________________
LARTC mailing list / [email protected]
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

Signature · 3 lines
Stef

More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

author
#2 lore raw
In reply to Chuanbo Xu

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
[email protected]

You writes£º

Quoted 41 lines
Quoted 5 lines · Chuanbo Xu

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

Quoted 28 lines

regards,

Chuanbo Xu
[email protected]

You writes£º

Quoted 21 lines
Quoted 5 lines · Chuanbo Xu

Hi£¬

I run tc to limit bandwidth. Howerver, how to measure bandwidth?

Quoted 8 lines

regards,

Chuanbo Xu
[email protected]

_______________________________________________
LARTC mailing list / [email protected]
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

--

Quoted 13 lines
Quoted 7 lines
Quoted 3 lines

Stef

More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

Signature · 3 lines
Stef

More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

author
#3 lore raw
In reply to Chuanbo Xu

Hi Stef Coene£¬

I put it in /root, and execute monitor.pl as root.

regards,

Chuanbo Xu
[email protected]

You writes£º

Quoted 8 lines
Quoted 6 lines · Chuanbo Xu

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.

Quoted 15 lines
Quoted 3 lines
Quoted 3 lines

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.

Signature · 3 lines
Stef

More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/