shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RES: RES: [shell-script] Verificagco se a rede esta ativa


From: Paulo Eduardo Santos - DATAPREVRJ
Subject: RES: RES: [shell-script] Verificagco se a rede esta ativa
Date: Tue, 30 Jul 2002 11:02:54 -0300

>Alguma outra idéia?
>
>-Tente um "timeout" no ping com a opção -w(tempo em segundos).


Mas só existe a opção -i e ainda demorou 10 segundos, segundo o exemplo.
Alguém tem alguma outra idéia?

- ??????

No RH 7.2:

# ping
Usage: ping [-LRUbdfnqrvV] [-c count] [-i interval] [-w wait]
        [-p pattern] [-s packetsize] [-t ttl] [-I interface address]
        [ -T timestamp option ] [ -Q tos ] host

# man ping:

...
 -w deadline
             Specify a timeout, in seconds, before ping exits regardless of
             how many packets have been sent or received.

...


Paulo Eduardo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]