Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 1997 15:21:20 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        current@freebsd.org
Subject:   Ping with standard deviation?
Message-ID:  <199707151921.PAA12803@khavrinen.lcs.mit.edu>

next in thread | raw e-mail | index | archive | help
I just modified `ping' to output standard deviation in addition to the
other statistics.  Does anyone out there think that this would be
useful in the general case?

This gives output like:

--- lanrover.lcs.mit.edu ping statistics ---
81 packets transmitted, 81 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.220/5.378/67.712/10.643 ms

(As you can see, there's an unfortunate amount of jitter in my
network.)

It does increase the size of the ping executable a few K since we have
to link against the math library.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707151921.PAA12803>