[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] how to see if a host is up on a network
- Subject: [ale] how to see if a host is up on a network
- From: gt2497b at prism.gatech.edu (Joe Novosel)
- Date: Sat, 15 Nov 1997 15:11:22 -0500 (EST)
>
> I need a way to find out if a host is alive on our network. I've looked at
> using "ping -c 1 thehost" and it would work fine but my script can't afford to
> wait 10 seconds for a downed host not to respond. Any suggestions?
> ------ David Hamm - dhamm at itserve.com --------
>
You can change the timeout on ping. If a system is on your network, then
1 second should be _more_ than enough time.
(on Solaris, ping hostname timeout)
--
-------------------
Joe Novosel
jnovosel at cc.gatech.edu
This address may not be used for unsolicited email.
****** Repeal the 16th amendment! ******