servers, UDP "echo", etc).
echoping simply shows the elapsed time, including the time to set up the TCP connection and to transfer the data. Therefore, it is unsuit?able to physical line raw throughput measures (unlike bing or treno).
On the other end, the action it performs are close from, for instance,a HTTP request and it is meaningful to use it (carefully) to measure Web performances.
Install Echoping on ubuntu
Open the terminal and run the following command
sudo apt-get install echoping
echoping [-4] [-6] [-v] [-V] [-ffill] [-ttimeout] [-c] [-d] [-u] [-ssize] [-nnumber] [-wdelay] [-hurl-or-path] [-R] [-iurl] [-ppriority] [-Ptos] [-C] [-S] [-A] [-a] [-mplugin] hostname [:port] [plugin options...]
-V Displays the compiled-in configuration of echoping. Useful for
-s nnn Size of the data to send. Large values can produce strange results with some echo servers.
-n nnn Numbers of repeated tests. With this option, you have also the minimum, maximum, average and median time, as well as the stan?dard deviation. The median is the value such that half of the measures are under it and the other half is above. When you mea?sure highly variables values, like it is often the case on the whole Internet, median is better than average to avoid "extreme"values. You can check the "value" of the average by looking at the standard deviation: very roughly, if the standard deviation is more than the half of the average, the average does not mean anything. (See a book about statistics for the details: the reality is far more complicated.)
-w nnn Number of seconds to wait between two tests (default is one). On systems which have usleep(), you can write it as a fractional number, such as 3.14. Otherwise, use integers.
-t nnn Number of seconds to wait a reply before giving up. For TCP,this is the maximum number of seconds for the whole connection (setup and data exchange).
-u Use UDP instead of TCP
-d Use the "discard" service instead of echo
-c Use the "chargen" service instead of echo
-h url-or-path Use the HTTP protocol (instead of echo) for the given URL. If the hostname is the Web server, the argument has to be a path, a relative URL (for instance ’/’ or ’/pics/foobar.gif’). If the
hostname is a proxy/cache like Squid, the argument has to be an absolute URL.
-R Accept HTTP status codes 3xx (redirections) as normal responses (the default is to regard them as errors)
-i url Use the ICP protocol (instead of echo) for the given URL. The URL has to be an absolute one. This is mostly for testing Squid Web proxy/caches.
-A Force the proxy (if you use one) to ignore the cache
-a Force the proxy (if you use one) to revalidate data with the original server
-C Use the SSL/TLS (cryptography) protocol. For HTTP tests only.
-S Use the SMTP protocol (instead of echo) for the given server.
-4 Use only IPv4 (even if the target machine has an IPv6 address)
-6 Use only IPv6 (even if the target machine has an IPv4 address)
-f character Fill the packet with this character (default is random filling)
-D Tries to display actual data transfer duration only, not total time
-N n Displays an average which excludes values ("outliers") which are further than +/- N*standard deviation
-p n Send packets with the socket priority to the integer n. The mapping of the socket priority into a network layer or a link layer priority depends upon the network protocol and link proto?col in use. For more details see SO_PRIORITY in socket.
-P n Set the IP type of service octet in the transmitted packets to the least significant eight bits of the integer n.
-m plugin Load the given plugin. The plugin is first searched in the nor?mal library directories then in /usr/lib/echop?ing.
1 (Simple test with 1000 bytes echo TCP packets)
% echoping -v -s 1000 mycisco
This is echoping, version 5.0.0.
Trying to connect to internet address 172.21.0.14 7 to transmit 1000 bytes...
TCP Latency: 0.003165 seconds
Sent (1000 bytes)...
Application Latency: 0.322183 seconds
1000 bytes read from server.
Elapsed time: 0.326960 seconds
2 Repeated tests with average / mean and median displayed.
% echoping -n 10 faraway-machine
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.)
3.Testing a Web server with an HTTP request for its home page.
% echoping -h / mywww
Elapsed time: 0.686792 seconds