PING (ip) 56(84) bytes of data.
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
(hostname) 64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
(hostname) 64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
(hostname) 64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
答案1
这看起来是 的默认行为ping
。根据手册页,您可以添加-n
选项以仅获取数值而不解析主机名。