Irritation regarding precision of ping(8)...

John Polstra jdp at polstra.com
Tue Nov 2 08:44:04 PST 2004


On 31-Oct-2004 Sean Chittenden wrote:
>>> This has long bugged me and tonight I finally snapped and had to do
>>> something about it.  Example output:
>>>
>>> 64 bytes from a.b.c.d: icmp_seq=935 ttl=126 time=33.824 ms
>>> 64 bytes from a.b.c.d: icmp_seq=936 ttl=126 time=29.138 ms
>>> 64 bytes from a.b.c.d: icmp_seq=937 ttl=126 time=28.262 ms
>>> 64 bytes from a.b.c.d: icmp_seq=938 ttl=126 time=29.67 ms
>>> 64 bytes from a.b.c.d: icmp_seq=939 ttl=126 time=30.963 ms
>>> 64 bytes from a.b.c.d: icmp_seq=940 ttl=126 time=30.283 ms
>>> 64 bytes from a.b.c.d: icmp_seq=941 ttl=126 time=29.455 ms
>>>
>>> The source of irritation being line seq 930.  The time should be 
>>> 29.670
>>> since we are accurately measuring the precision to the thousands 
>>> place.
>>
>> I think you mean line seq 938.
> 
> Yeah... my eyes are getting blurry... the 8 and 0 look similar at the 
> moment... probably a good sign I should stop and crash for the night.

You really just meant 9.4e2, right? :-)

John


More information about the freebsd-net mailing list