While running a test to diagnose some alleged network problem,
I got this output from ping
:
--- r01c01b11n02 ping statistics ---
30000 packets transmitted, 29995 received, 0% packet loss, time 6309ms
rtt min/avg/max/mdev = 0.091/0.343/118.051/3.605 ms, pipe 9, ipg/ewma 0.210/0.130 ms
PING r01c02b06n01 (10.1.1.61) 56(84) bytes of data.
The pipe 9
part I had never seen before; currently, I only get it on
this couple of hosts, and the actual number varies (e.g., could be
pipe 8
or pipe 2
).
What does pipe <number>
mean in ping
output?
The
pipe
value in the output ofping
indicates the maximum number of unanswered ICMP echo request packets outstanding in the network at some point during the test. It is not normally reported when this value is one (every request received a response before the next request was sent), which is the case under normal operation.By default, the
ping
command waits a second between sending echo requests, as per the description on its man page under the-i
parameter:On most networks, the round trip time (RTT) is typically on the order of tens or hundreds of milliseconds, not seconds, so in this default mode, each echo request will normally receive a response before the following request is sent. The maximum number of outstanding packets in the network is no greater than one at any point in the test, so
pipe
is equal to 1 and not reported.Should the response time to a packet rise above this default interval for some reason, causing multiple requests to be outstanding in the network, ping will report a
pipe
greater than one. Similarly, you can invoke this response by artificially reducing the interval by passing a smaller value than the RTT for the-i
parameter ofping
.If the network system is local, then either:
Whether this is indicative of a larger problem depends on the scenario, the network hardware, the
ping
configuration, etc.In short:
A detailed answer can be found at the source for this quote, at http://www.vincentverhagen.nl/2009/06/13/what-does-the-pipe-value-mean-in-the-output-of-ping/.