Linux ping命令详解
碎碎兵:
误人子弟,-W -w明明引用里面说的是以秒为单位
[code=plain]
-w deadline
A timeout, in seconds, before ping exits regardless of how many packets have been sent or received.
In this case ping does not stop after count packet are sent, it waits either for deadline expire
or until count probes are answered or for some error notification from the network.
-W timeout
Time to wait for a response, in seconds.
This option affects only the ICMP timeout in the absense of any responses, otherwise ping waits fo
[/code]
|