Windows TraceRt 报告的数字是什么意思
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/451967/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What do the numbers reported by the Windows TraceRt Mean
提问by JonStonecash
I need to create a trace route as part of a .NET appliation to support trouble shooting. I have figured out how to use the .NET Ping class to do the tracing. What I do not understand is what the numbers reported by the command line utility are. This is somewhat censored results of a "tracert yahoo.com" from the Windows command line:
我需要创建一个跟踪路由作为 .NET 应用程序的一部分来支持故障排除。我已经弄清楚如何使用 .NET Ping 类进行跟踪。我不明白的是命令行实用程序报告的数字是什么。这是 Windows 命令行中“tracert yahoo.com”的一些结果:
Tracing route to yahoo.com [206.190.60.37] over a maximum of 30 hops:
通过最多 30 跳跟踪到 yahoo.com [206.190.60.37] 的路由:
1 <1 ms <1 ms <1 ms xx.xx.xx.xx
2 7 ms <1 ms <1 ms yy.yy.yy.yy
3 42 ms 37 ms 41 ms zz.zz.zz.zz
4 38 ms 37 ms 37 ms aa.aa.aa.aa
5 36 ms 36 ms 36 ms bb.bb.bb.bb
6 42 ms 41 ms 41 ms cc.cc.cc.cc
--- more lines deleted ---
The first column is the index and the next three columns are times in milliseconds. I have searched the web for an explanation and have come up dry. I thought that they might be min, average, and max numbers but line 2 would seem to counter that idea.
第一列是索引,接下来的三列是以毫秒为单位的时间。我在网上搜索了一个解释,结果很枯燥。我认为它们可能是最小、平均和最大数字,但第 2 行似乎与这个想法相反。
Jon Stonecash
乔恩·斯通卡什
采纳答案by Bill
Tracert sends sets of pings to the destination. The first set has a time-to-live (TTL) of one. The TTL setting of one causes the first router to send an error message back to your computer. Your computer performs a DNS lookup of the IP address, and then displays the router's host name. The program then increments the TTL and sends another set of pings to retrieve the next router's information. This process is repeated until the end point is reached.
Tracert 将 ping 集发送到目标。第一组的生存时间 (TTL) 为 1。one 的 TTL 设置会导致第一个路由器将错误消息发送回您的计算机。您的计算机执行 IP 地址的 DNS 查找,然后显示路由器的主机名。然后程序增加 TTL 并发送另一组 ping 以检索下一个路由器的信息。重复这个过程直到到达终点。
The first column is the number of hops to the destination (maximum of 30). The next three columns are the amounts of time to receive the responses. The right-most column shows the router information along the path.
第一列是到目的地的跳数(最多 30 个)。接下来的三列是接收响应的时间。最右侧的列显示沿路径的路由器信息。
回答by rlb.usa
回答by Rob Prouse
If I remember right, tracert does three pings (actually not pings to the device, but effectively the same) to each device along the route and the the three times are just three different ping times to each device. For example, if you find a device in the list with one or more timeouts, that device is probably overloaded and causing the problems.
如果我没记错的话,tracert 对沿途的每个设备执行 3 次 ping(实际上不是对设备的 ping,但实际上是相同的),而这 3 次只是对每个设备的三个不同的 ping 时间。例如,如果您发现列表中的设备有一个或多个超时,则该设备可能过载并导致问题。
回答by kpratama
Basically, tracert send 3 packets to each hop. The second, third and fourth column is RTT short for Round Trip Time which means the time for the packet to reach hop and get back.
基本上,tracert 向每跳发送 3 个数据包。第二、第三和第四列是 RTT 的缩写,即往返时间,表示数据包到达跳跃和返回的时间。
http://customer.comcast.com/help-and-support/internet/run-traceroute-command/
http://customer.comcast.com/help-and-support/internet/run-traceroute-command/
回答by Marc Juchli
Here is also a quick explanation of the results of traceroute:
这里也是对traceroute结果的快速解释:
http://www.ehow.com/way_5148131_understanding-traceroute-results.html
http://www.ehow.com/way_5148131_understanding-traceroute-results.html