Reupdate ping script

From: Dave McDonald (unix_man@sympatico.ca)
Date: Thu Jul 25 2002 - 10:52:33 EDT


The count doen not work, and the version of ping from Solaris is not the best and lacke functionality.

>>
> man page for ping shows
>
> /usr/sbin/ping -s [ -l | -U ] [ -adlLnrRv ] [
> -A addr_family ] [ -c traffic_class ] [ -g gateway [ -g
> gateway ... ] ] [ -F flow_label ] [ -I interval ] [
> -i interface ] [ -P tos ] [ -p port ] [ -t ttl ] host [
> data_size ] [ count ]
>
>
> Nick Boyce
> Systems Administrator
> Tradelink, LLC
> 200 W. Jackson Blvd., suite 2300
> Chicago, IL 60606
>
> On Thu, 25 Jul 2002, Dave McDonald wrote:
>
> > I have a script that will ping a device and displays all the stats.
> >
> > 64 bytes from host (1.1.1.1): icmp_seq=0. time=0. ms
> > 64 bytes from host (10..1.1.1): icmp_seq=1. time=0. ms
> > ^C
> >
> > How can I send only 3 pings or how can I implement a ^C into the script so it
> > will display the results and move on to the next test in the same script?
> >
> > When I look for a count in the ping that came with Solaris 8, there isn't one.
> > Thanks
> > _______________________________________________
> > sunmanagers mailing list
> > sunmanagers@sunmanagers.org
> > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:39 EDT