If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Bela Lubkin <belal@caldera.com>
Subject: Re: timeout of ping
Date: Wed, 27 Jun 2001 07:12:37 GMT
References: <f38113be.0106200351.426d0517@posting.google.com> <20010625184027.K23509@caldera.com> <20010625220842.I1201@jpradley.jpr.com>
Jean-Pierre Radley wrote:
> Bela Lubkin propounded (on Tue, Jun 26, 2001 at 01:40:27AM +0000):
> | Peter Lundkvist wrote:
> |
> | > Does anybody know if/how I can change the default timeout of the ping
> | > command? The reason is that the timeout of 10 seconds is long for me.
> | >
> | > I know that there is a risk making the timeout sorter but I'll run
> | > some tests to see what happens.
> |
> | Does `ping -i lessthan10seconds` not work for you?
>
> I suspect he wants a quick test like 'ping -c 1' to finish more quickly
> if it gets no answer. That command times out in ten seconds by default.
Yes, I had confused myself on which flags were already implemented and
which I only wished I had implemented. The flag I meant to point him to
was "-w", which is not yet supported by any shipping OpenServer. Peter
is testing the implementation for me. The new flag, carped from BSD,
means "stop the whole ping session after this much time, regardless of
how many packets have been sent or received, or current success status".
5.0.6 has the "-o" flag which causes termination after any one reply
packet has been received; but of course that's no help if the pingee
isn't home.
>Bela<
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 5 | 33 | 161 | 1,667 | 3,799 |
/Bofcusm/1192.html copyright 1997-2004 Bela Lubkin All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments