Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on OS X 10.7 and just found out, the

ping -s 10 host

does not work as expected. Its output does not contain the round trip time:

PING host (IP): 10 data bytes
18 bytes from IP: icmp_seq=0 ttl=248
18 bytes from IP: icmp_seq=1 ttl=248
--- host ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss

It works if -s's value is 16 and above. I also experienced this on Linux, but with a smaller value. I read man ping, but it does not mention a restriction.

share|improve this question
up vote 3 down vote accepted

With packet sizes that small, there's not enough room in the packet to hold the timestamp.

share|improve this answer
This can't really be the answer, as: 1) The RTT could also be derived from the ICMP identifier, and 2) I tested that even size 8 contains a timestamp, but the ping command does not show the RTT though – Max Ried Feb 17 '12 at 10:48
That timestamp is not accurate enough to display a meaningful RTT measurement. And while the RTT could be derived from the ICMP identifier, it isn't. – David Schwartz Feb 17 '12 at 10:58
Thanks, I just had a look at busybox source. It's a shame, I look into patching it. – Max Ried Feb 17 '12 at 11:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.