# pingroute.pl - Used to look at the Ping response times along a route # and provide the minimum, average and maximum ping response times # and packet losses to the nodes along the route. $version="1.3, 5/13/00"; # First it uses traceroute to discover the IP addresses of the # nodes in the route to the name. The traceroute results are # saved in: $nodefile='/tmp/pingtrace'; # and the IP addresses and names are saved in: $opt_f='/tmp/pingaddr'; # and also outputted to STDERR. # Then it goes thru the list of IP addresses # and pings 100 times with a 10 byte packet, and 10 times with a 1400 # byte packet. The results are then stored in /tmp/pingtime and # and also sent to STDERR. # .................................................................... # Command Format: # pingroute [-c count] name # Where: # name is the name of a node, e.g. truthc.phy.olemiss.edu # Option: # count is the number of times to ping each node along the route # for each ping packet size (default =10). # # Examples: pingroute -c 10 truthc.phy.olemiss.edu # # Please send comments and/or suggestion to Les Cottrell. # # **************************************************************** # Owner(s): Les Cottrell (5/25/94). # Revision History: ported to Linux, SunOS, Solaris, AIX & Digital OSF1. # Runs on SunOS, Solaris, AIX, Digital OSF1 & Linux # Source available at: http://www.slac.stanford.edu/comp/net/pingroute.pl #