问题原文
原帖链接 · Nohus · CC BY-SA 4.0
In the ping output on Linux, what does the time field indicate? It is obvious for individual packets, but not in the summary.
What took 5ms in the output below?
It is not described in the man page. My OS is Debian Buster, using the ping binary from this package: https://packages.debian.org/buster/iputils-ping
已采纳解答
原帖链接 · blaimi · CC BY-SA 4.0
This is a bug in the current implementation of iputils-ping.
https://github.com/iputils/iputils/issues/193
This should show the complete time the command has been running.
Comparation with Version 20161105 from debian stretch which doesn't have this bug:
ping -c 4 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=63 time=34.1 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=63 time=28.9 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=63 time=29.9 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=63 time=29.0 ms
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 28.986/30.526/34.118/2.111 ms
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
