tldr/pages.zh/windows/pathping.md

37 lines
804 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# pathping
> 一种结合了`ping`和`tracert`功能的跟踪路由工具。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/pathping>.
- Ping 并追踪主机的路由:
`pathping {{主机名}}`
- 不要对主机名执行 IP 地址的反向查找:
`pathping {{主机名}} -n`
- 指定要搜索目标的最大跃点数(默认值为 30
`pathping {{主机名}} -h {{最大跃点数}}`
- 指定 ping 之间等待的毫秒数(默认值为 240
`pathping {{主机名}} -p {{时间}}`
- 指定每跳的查询数(默认值为 100
`pathping {{主机名}} -q {{查询语句}}`
- 强制使用 IPV4
`pathping {{主机名}} -4`
- 强制使用 IPV6
`pathping {{主机名}} -6`
- 显示详细的使用帮助:
`pathping /?`