1
What I'd like to do is to ping an IP while the latency is above an specific value. I think an example will help:
Let's suppose I have the following result to the "ping *IP here*"
command:
PING *IP here* (*IP here*): 56 data bytes
64 bytes from *IP here*: icmp_seq=0 ttl=53 time=127.238 ms
64 bytes from *IP here*: icmp_seq=1 ttl=53 time=312.762 ms
64 bytes from *IP here*: icmp_seq=2 ttl=53 time=251.475 ms
64 bytes from *IP here*: icmp_seq=3 ttl=53 time=21.174 ms
64 bytes from *IP here*: icmp_seq=4 ttl=53 time=27.953 ms
I'd like a way to make the ping stop after the latency drops below a given value. Let's say 100, so in the example above it'd stop after the 4th result.
Rafael, if the answer below solved your problem, could you please Accept it? – jimtut – 2014-10-30T17:05:16.287