[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Linux Ping utility is giving some sort of trouble. I am using ping
utility to check the upness of remote host & same the avg delay & no of pkts
sent & received. I am sending 5 pkts using -c switch, I am also using -w 2
for waiting for only 2 sec if remote host is not reachable as follows
$ping -c 5 -w 2 <remote host>
PING 188.8.131.52 (184.108.40.206) from 220.127.116.11 : 56(84) bytes of data.
64 bytes from 18.104.22.168: icmp_seq=0 ttl=246 time=508.2 ms
64 bytes from 22.214.171.124: icmp_seq=1 ttl=246 time=517.7 ms
64 bytes from 126.96.36.199: icmp_seq=2 ttl=246 time=207.0 ms
64 bytes from 188.8.131.52: icmp_seq=3 ttl=246 time=230.9 ms
--- 184.108.40.206 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 207.0/365.9/517.7 ms
to my surprise Linux is sending only 4 pkts & receiving 4 pkts, can some one
explain me why this is happening ?
if any fix is available for this or is there any alternative is available?
any suggestions & pointers will be appreciated.
- Next by Subject:
- Next by thread: