2000-04-13 09:48:17 +00:00
|
|
|
|
#use wml::template Title="echoping Home Page"
|
|
|
|
|
|
|
|
|
|
<!-- $Id$ -->
|
|
|
|
|
|
|
|
|
|
<P>"echoping" is a small program to test (approximatively) performances of a
|
|
|
|
|
remote host by sending it TCP "echo" (or other protocol) packets.
|
|
|
|
|
|
2003-11-28 10:14:10 +00:00
|
|
|
|
<P>To install it, see the INSTALL file. Or type "<code>./configure && make
|
|
|
|
|
&& sudo make install</code>" if you're in a
|
|
|
|
|
hurry :-) Several operating systems have echoping already packaged
|
|
|
|
|
(Debian, FreeBSD, NetBSD). <A
|
2000-04-13 12:37:06 +00:00
|
|
|
|
HREF="ftp://ftp.internatif.org/pub/unix/echoping">Download</A>, if you
|
|
|
|
|
wish. (Or you may prefer access the latest developments <A
|
|
|
|
|
HREF="http://sourceforge.net/cvs/?group_id=4581">via CVS</A>: the
|
2000-06-25 13:50:27 +00:00
|
|
|
|
module is named "SRC".) You may be interested in <A HREF="http://sourceforge.net/project/?group_id=4581">SourceForge's page
|
|
|
|
|
about echoping</A>, with the bug reports, etc.
|
2000-04-13 09:48:17 +00:00
|
|
|
|
|
|
|
|
|
<P>To use it, simply:
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
|
|
|
% echoping machine.somewhere.org
|
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
<P>or use the options before the machine name (see the man page).
|
|
|
|
|
|
2000-06-25 13:50:27 +00:00
|
|
|
|
<P>See the <A HREF="details.html">DETAILS</A> file for various traps when benchmarking networks,
|
2000-04-13 09:52:05 +00:00
|
|
|
|
specially with this program.
|
2000-04-13 09:48:17 +00:00
|
|
|
|
|
|
|
|
|
<P>In any case, be polite: don't bother the remote host with many repeated
|
|
|
|
|
requests, especially with large size. Ask for permission if you often
|
|
|
|
|
test hosts which aren't yours.
|
|
|
|
|
|
|
|
|
|
<P>Current features:
|
|
|
|
|
|
|
|
|
|
<UL>
|
2002-10-11 21:08:32 +00:00
|
|
|
|
<LI>Supports IPv6 as well as IPv4,
|
2004-02-29 21:58:10 +00:00
|
|
|
|
<LI>Supports IDN (Unicode domain names like <CODE>caf<61>.gennic.net</CODE>),
|
2003-11-28 10:14:10 +00:00
|
|
|
|
<LI>uses the protocols echo, discard, chargen or HTTP,
|
|
|
|
|
<LI>can use cryptographic connections with HTTP,
|
2000-04-13 09:48:17 +00:00
|
|
|
|
<LI>uses UDP instead of TCP for the protocols which accept it (like echo),
|
|
|
|
|
<LI>can repeat the test and display various measures about it,
|
|
|
|
|
<LI>can use T/TCP on systems which support it.
|
|
|
|
|
</UL>
|
|
|
|
|
|
2000-06-30 07:11:30 +00:00
|
|
|
|
<P><A HREF="http://sourceforge.net/bugs/?func=browse&group_id=4581&set=open">Known bugs</A>
|
2000-04-13 12:37:06 +00:00
|
|
|
|
|
2000-04-13 09:48:17 +00:00
|
|
|
|
<P>Examples of output:
|
|
|
|
|
|
|
|
|
|
<OL>
|
|
|
|
|
|
|
|
|
|
<LI>(Simple test with 1000 bytes echo TCP packets)
|
|
|
|
|
<PRE>
|
|
|
|
|
% echoping -v -s 1000 mycisco
|
2002-10-11 21:08:32 +00:00
|
|
|
|
|
|
|
|
|
This is echoping, version 5.0.0.
|
|
|
|
|
|
|
|
|
|
Trying to connect to internet address 172.21.0.14 7 to transmit 1000 bytes...
|
2000-04-13 09:48:17 +00:00
|
|
|
|
Connected...
|
2002-10-11 21:08:32 +00:00
|
|
|
|
TCP Latency: 0.003165 seconds
|
2000-04-13 09:48:17 +00:00
|
|
|
|
Sent (1000 bytes)...
|
2002-10-11 21:08:32 +00:00
|
|
|
|
Application Latency: 0.322183 seconds
|
|
|
|
|
1000 bytes read from server.
|
2000-04-13 09:48:17 +00:00
|
|
|
|
Checked
|
2002-10-11 21:08:32 +00:00
|
|
|
|
Elapsed time: 0.326960 seconds
|
2000-04-13 09:48:17 +00:00
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
<LI>(Repeated tests with average and median displayed.)
|
|
|
|
|
<PRE>
|
2002-10-11 21:08:32 +00:00
|
|
|
|
% echoping -n 10 faraway-machine
|
2000-04-13 09:48:17 +00:00
|
|
|
|
[...]
|
2002-10-11 21:08:32 +00:00
|
|
|
|
Minimum time: 6.722336 seconds (38 bytes per sec.)
|
|
|
|
|
Maximum time: 17.975060 seconds (14 bytes per sec.)
|
|
|
|
|
Average time: 10.873267 seconds (24 bytes per sec.)
|
|
|
|
|
Standard deviation: 3.102793
|
|
|
|
|
Median time: 9.218506 seconds (28 bytes per sec.)
|
2000-04-13 09:48:17 +00:00
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
<LI>(Testing a Web server with an HTTP request for its home page.)
|
|
|
|
|
<PRE>
|
|
|
|
|
% echoping -h / mywww
|
|
|
|
|
Elapsed time: 0.686792 seconds
|
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
</OL>
|
|
|
|
|
|
2002-10-11 21:08:32 +00:00
|
|
|
|
<P>The exit status is set if there is any problem, so you can use
|
|
|
|
|
echoping to test repeatedly a Web server, to be sure it runs fine (<A
|
|
|
|
|
HREF="http://people.ee.ethz.ch/~oetiker/webtools/smokeping/">SmokePing</A>
|
|
|
|
|
does it). Or you can display statistics like <A
|
2002-10-15 09:34:21 +00:00
|
|
|
|
HREF="https://monitor.netaktiv.com/MRTG/web.html">at Netaktiv</A> (see
|
|
|
|
|
the <A HREF="echoping-web.sh">shell script</A> which runs echoping).
|
2002-10-11 21:08:32 +00:00
|
|
|
|
|
|
|
|
|
<P>To do for a future version: see the TODO file.
|
|
|
|
|
|
2003-12-19 21:39:32 +00:00
|
|
|
|
<H3>Helping and motivating the greedy and selfish developer</H3>
|
2000-04-13 09:48:17 +00:00
|
|
|
|
|
2003-12-19 21:39:32 +00:00
|
|
|
|
You can <A HREF="donations.html">send money, books or postcards</A>.
|
2002-10-15 09:34:21 +00:00
|
|
|
|
|