[svlug] how to ping a dead system

Emmanuel-Robert Mayssat emayssat at valinux.com
Mon May 1 11:16:43 PDT 2000


ping terminates on my computer.
I worked on an equivalent script and used the error code ( $? ) of ping
to determine if the remote computer was networked.
The IP addresses were taken from the NIS file.
What IP address are you using ? 
Are you broadcasting ?
xxx.xxx.xxx or rather xxx.xxx.xxx.xxx ?

--
Emmanuel

+--------------------------------------------------------------------+
| Date: Mon, 01 May 2000 10:57:50 PDT
| From:  HvR <hvrietsc at yahoo.com>
+--------------------------------------------------------------------+

 i want to create a script that pings all my favourite
 machines and when one of them has died it should send
 an email to me. 
 
 so i send a ping -c1 xxx.xxx.xxx
 BUT if the system is dead this ping just does not seem
 to terminate. Any tips on what my script should do to
 catch this?
 
 
 __________________________________________________
 Do You Yahoo!?
 Send instant messages & get email alerts with Yahoo! Messenger.
 http://im.yahoo.com/
 
 
 _______________________________________________
 svlug mailing list
 svlug at lists.svlug.org
 http://lists.svlug.org/mailman/listinfo/svlug
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Robert-Emmanuel Mayssat                      @ VA Linux, Inc       |
| https//vaweb.valinux.com/~emayssat           Desk # : 408/542-8759 |
+--------------------------------------------------------------------+         
       






More information about the svlug mailing list