[HPADM] Re: Re:Update ping script

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


This version of ping is as follows with the -n option.

#man ping
-n Show network addresses as numbers. ping normally
                displays addresses as host names.
>
> Add "-n <count>" as a ping option.
> From "man ping"
>
> Richard Wright
> UNIX Administrator
> Hussmann Corp.
>
>
>
>
> Dave McDonald
> <unix_man@sympa To: <hpux-admin@dutchworks.nl>
> tico.ca> cc:
> Sent by: Subject: [HPADM] ping script
> hpux-admin-owne
> r@DutchWorks.nl
>
>
> 07/25/2002
> 08:49 AM
>
>
>
>
>
>
>
>
> 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?
>
> Thanks
>
>
> --
> ---> Please post QUESTIONS and SUMMARIES only!! <---
> To subscribe/unsubscribe to this list, contact
> majordomo@dutchworks.nl
> Name: hpux-admin@dutchworks.nl Owner:
> owner-hpux-admin@dutchworks.nl
>
> Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
> only)
> http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
> search)
>
>
>
>
>
>

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:16 EDT