echoping/SRC
Stephane Bortzmeyer b9b72038d1 Testing support
2000-06-25 14:23:00 +00:00
..
acconfig.h T/TCP now configurable by configure 2000-04-17 14:31:25 +00:00
acinclude.m4 Now use autoconf to find if we have sigaction() (POSIX signal handler) 2000-04-17 13:49:40 +00:00
aclocal.m4 Better Makefile.am (and relatives), with support of man pages, etc. 2000-06-15 19:28:21 +00:00
AUTHORS First autoconf/automakization. 2000-04-17 11:36:29 +00:00
ChangeLog Two more files forgotten 2000-04-17 11:54:55 +00:00
config.h.in T/TCP now configurable by configure 2000-04-17 14:31:25 +00:00
configure Better Makefile.am (and relatives), with support of man pages, etc. 2000-06-15 19:28:21 +00:00
configure.in T/TCP now correct 2000-04-17 14:43:43 +00:00
COPYING Two more files forgotten 2000-04-17 11:54:55 +00:00
CREDITS Documentation updates 2000-06-25 14:11:34 +00:00
DETAILS Initial revision 2000-04-13 09:19:23 +00:00
echoping.1 Initial revision 2000-04-13 09:19:23 +00:00
echoping.c ICP compilation support is now OK 2000-06-25 14:05:33 +00:00
echoping.h T/TCP now configurable by configure 2000-04-17 14:31:25 +00:00
echoping.ptk Initial revision 2000-04-13 09:19:23 +00:00
error.c Initial revision 2000-04-13 09:19:23 +00:00
HTParse.c Initial revision 2000-04-13 09:19:23 +00:00
HTParse.h Initial revision 2000-04-13 09:19:23 +00:00
http.c HTTP and ICP are now options on the command-line of configure 2000-04-17 13:11:31 +00:00
icp.c Small documentation fix in header 2000-06-25 14:07:09 +00:00
icp.h Initial revision 2000-04-13 09:19:23 +00:00
INSTALL Documentation updates 2000-06-25 14:11:34 +00:00
install-sh install-sh added, dummy ttcp removed 2000-04-17 11:44:13 +00:00
MACHINES Initial revision 2000-04-13 09:19:23 +00:00
Makefile.am Testing support 2000-06-25 14:23:00 +00:00
Makefile.in Testing support 2000-06-25 14:23:00 +00:00
missing First autoconf/automakization. 2000-04-17 11:36:29 +00:00
mkinstalldirs First autoconf/automakization. 2000-04-17 11:36:29 +00:00
NEWS First autoconf/automakization. 2000-04-17 11:36:29 +00:00
readline.c Initial revision 2000-04-13 09:19:23 +00:00
README Documentation updates 2000-06-25 14:11:34 +00:00
rtt.h Initial revision 2000-04-13 09:19:23 +00:00
test-echoping-icp Testing support 2000-06-25 14:23:00 +00:00
test-echoping-local Testing support 2000-06-25 14:23:00 +00:00
test-echoping-remote Testing support 2000-06-25 14:23:00 +00:00
TODO Initial revision 2000-04-13 09:19:23 +00:00
util.c Initial revision 2000-04-13 09:19:23 +00:00
writen.c Initial revision 2000-04-13 09:19:23 +00:00

"echoping" is a small program to test (approximatively) performances of a 
remote host by sending it TCP "echo" (or other protocol) packets.

To install it, see the INSTALL file. Or type "make" if you're in a
hurry :-)

To use it, simply:

% echoping machine.somewhere.org

or use the options before the machine name (see the man page).

See the DETAILS file for various traps when benchmarking networks,
specially with this program

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.

Current features:

- uses the protocols echo, discard, chargen or HTTP, 
- uses UDP instead of TCP for the protocols which accept it (like echo),
- can repeat the test and display various measures about it,
- can use T/TCP on systems which support it.

Examples of output:

(Simple test with 1000 bytes echo TCP packets)
% echoping -v -s 1000 mycisco
This is echoping, version 2.0.
Trying to connect to internet address 10.99.64.1 to transmit 256 bytes...
Connected...
Sent (1000 bytes)...
Checked
Elapsed time: 0.059597 seconds
%

(Repeated tests with average and median displayed.)
% echoping -n 10 mymachine
[...]
Minimum time: 0.170719 seconds (1500 bytes per sec.)
Maximum time: 0.211176 seconds (1212 bytes per sec.)
Average time: 0.184577 seconds (1387 bytes per sec.)
Median time: 0.181332 seconds (1412 bytes per sec.)

(Testing a Web server with an HTTP request for its home page.)
%  echoping -h / mywww
Elapsed time: 0.686792 seconds

(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.)


To do for a future version:

- display other calculations such as standard deviation
- fix the bugs (everlasting aim)

-------------
The reference site for echoping is:

http://echoping.sourceforge.net/

The distribution is from:

ftp://ftp.internatif.org/pub/unix/echoping

Stephane Bortzmeyer <bortz@users.sourceforge.net>. October 1995 for the
first version. June 2000 for this one.

$Id$