[SATLUG] Bandwidth-o-meter?

Tom Weeks tweeksjunk2 at theweeks.org
Sun Sep 5 03:41:02 CDT 2004


Matt... It's probably build into the server you're wanting to test..

It's a daemon on most UN*X systems called "chargen".  It runs on port 19, and 
on most modern linux systems it's a subdaemon of xinetd.  You turn on the 
daemon, like this:
# chkconfig --list |grep chargen
        chargen-udp:    off
        chargen:        off
# chkconfig chargen on
# chkconfig --list |grep chargen
        chargen-udp:    off
        chargen:        on


Use UDP for real high speed tests, or tests taht have a lot of hops (I would 
guess).

You telnet to this port and you get.. well.. a stream of char-data like this:
# telnet theweeks.org 19
Trying 64.39.31.80...
Connected to theweeks.org.
Escape character is '^]'.
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij
$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk
%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkl
&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklm
'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmn
()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno
)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop
...

w/metrics from ifconfig or netmon... you can get max bandwidth stats...

You get the picture?

If you're running Windows(on the client side), there's a client called 
NetScanTools that has a build in chargen (bandwidth) client I think...
http://www.extralan.co.uk/products/Diagnostic-Tools/NetScan-Tools-Pro.htm
(check out the eval version)

Tweeks




More information about the Satlug mailing list