You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
echoping/SRC
Stephane Bortzmeyer dc3b8101fd First try with buffered readline.
More efficient for remote servers but a big performance bug for local ones.
See http://sourceforge.net/bugs/?func=detailbug&bug_id=104290&group_id=4581
24 years ago
..
AUTHORS * Various cleanings, mostly of documentation. 24 years ago
COPYING Two more files forgotten 24 years ago
CREDITS Documentation updates 24 years ago
ChangeLog Two more files forgotten 24 years ago
DETAILS Initial revision 24 years ago
HTParse.c Initial revision 24 years ago
HTParse.h Initial revision 24 years ago
INSTALL Documentation updates 24 years ago
MACHINES Initial revision 24 years ago
Makefile.am * Various cleanings, mostly of documentation. 24 years ago
Makefile.in * Various cleanings, mostly of documentation. 24 years ago
NEWS First autoconf/automakization. 24 years ago
README Documentation updates 24 years ago
TODO * Various cleanings, mostly of documentation. 24 years ago
acconfig.h Two symbols forgotten from accconfig.h 24 years ago
acinclude.m4 Now use autoconf to find if we have sigaction() (POSIX signal handler) 24 years ago
aclocal.m4 Better Makefile.am (and relatives), with support of man pages, etc. 24 years ago
config.h.in Two symbols forgotten from accconfig.h 24 years ago
configure Better Makefile.am (and relatives), with support of man pages, etc. 24 years ago
configure.in T/TCP now correct 24 years ago
echoping.1 Initial revision 24 years ago
echoping.c First try with buffered readline. 24 years ago
echoping.h First try with buffered readline. 24 years ago
echoping.ptk Initial revision 24 years ago
error.c Initial revision 24 years ago
http.c First try with buffered readline. 24 years ago
icp.c Small documentation fix in header 24 years ago
icp.h Initial revision 24 years ago
install-sh install-sh added, dummy ttcp removed 24 years ago
missing First autoconf/automakization. 24 years ago
mkinstalldirs First autoconf/automakization. 24 years ago
readline.c First try with buffered readline. 24 years ago
rtt.h Initial revision 24 years ago
test-echoping-icp Testing support 24 years ago
test-echoping-local Testing support 24 years ago
test-echoping-remote Testing support 24 years ago
util.c Initial revision 24 years ago
writen.c Initial revision 24 years ago

README

"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$