ping 延迟 检测命令是什么?
windows 和 linux 怎么设定返回时间的命令?如 时间=204ms
正在 Ping www.google.com 具有 32 字节的数据:
来自 74.125.128.103 的回复: 字节=32 时间=204ms TTL=33
来自 74.125.128.103 的回复: 字节=32 时间=207ms TTL=33
来自 74.125.128.103 的回复: 字节=32 时间=205ms TTL=33
来自 74.125.128.103 的回复: 字节=32 时间=205ms TTL=33 回复 1# 梦落花香Z
-w 设置超时时间,不是你要的吗?Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name
Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply. 不是,-w 是ping 一个IP用时多长时间,比如我ping www.baidu.com -w 7 会ping7次(ping 默认1s 一次发包)。
我想要的是我到 www.baidu.com 的延迟时间。回复 2# seesea2517
回复 3# 梦落花香Z
哦,不是很懂…… 回复 3# 梦落花香Z PING 10.27.20.164 (10.27.20.164) 56(84) bytes of data.
64 bytes from 10.27.20.164: icmp_seq=1 ttl=60 time=0.541 ms
64 bytes from 10.27.20.164: icmp_seq=2 ttl=60 time=0.461 ms
64 bytes from 10.27.20.164: icmp_seq=3 ttl=60 time=0.525 ms
64 bytes from 10.27.20.164: icmp_seq=4 ttl=60 time=0.583 ms
64 bytes from 10.27.20.164: icmp_seq=5 ttl=60 time=0.508 ms
64 bytes from 10.27.20.164: icmp_seq=6 ttl=60 time=0.483 ms
64 bytes from 10.27.20.164: icmp_seq=7 ttl=60 time=0.484 ms
64 bytes from 10.27.20.164: icmp_seq=8 ttl=60 time=0.539 ms
64 bytes from 10.27.20.164: icmp_seq=9 ttl=60 time=0.587 ms
64 bytes from 10.27.20.164: icmp_seq=10 ttl=60 time=0.521 ms
--- 10.27.20.164 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9000ms
rtt min/avg/max/mdev = 0.461/0.523/0.587/0.041 ms看最后一行,rtt min/avg/max/mdev = 0.461/0.523/0.587/0.041 ms 是你需要的?
你的问题描述的太不清楚了。
页:
[1]