[HPADM] scripting a loop to ping multiple hosts

From: Dave McDonald (unix_man@sympatico.ca)
Date: Fri Jul 26 2002 - 15:15:19 EDT


I am trying to set up a loop of some sort to ping a list pre-defined node names, and simply return the output of them all.

For example I want to ping x, y, z.
If x id alive, I want to return the node name x and a message that x is alive.

If x is dead, I want to return a message that x is unreachable.

I am having problems putting this into a loop.... lol

Thanks for the help

--
             ---> 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:17 EDT