Operating System - HP-UX
1752637 Members
6377 Online
108788 Solutions
New Discussion юеВ

Any alternative than PING command ?

 
SOLVED
Go to solution
sdip
Advisor

Any alternative than PING command ?

Hi,

We have a script which does the check server availability via "ping" command before it execute command remotely. We have noticed ping generally takes around 11 seconds to return the status in case that server is down.

We are trying to reduce that 11seconds to minimum delay. Is there any alternative way to check the server status other than ping command which will return the status more faster way.

2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Any alternative than PING command ?

Have a look at this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1063876

The attached ping.pl script can use a -t timeout parameter to set the desired timeout to something other than the default 3 seconds. There is also another posible Perl solution that you might want to look at.

Invoke as ping.pl -u for full usage.
If it ain't broke, I can fix that.
Hein van den Heuvel
Honored Contributor
Solution

Re: Any alternative than PING command ?



You may have to fidn yourself a better ping.

The one out-of-the-box for Hpux is lame.


Check out:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Misc/ping-99.10/man.html

I am used to the one from Tru64 which has a -f for flood and -t for timeout (default 10s, only used for -c=1):
http://btrcx1.cip.uni-bayreuth.de/cgi-bin/manpages/ping/8

fwiw,
Hein.