[ale] how to see if a host is up on a network

Joe Novosel gt2497b at prism.gatech.edu
Sat Nov 15 15:11:22 EST 1997


> 
> 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!   ******






More information about the Ale mailing list