用 netstat -s 查看 TCP/IP 协议统计

看重传、错误和连接复位计数,判断到底是网络本身出了问题。

Windows网络命令提示符诊断低风险
运行 `netstat -s -p tcp` 查看重传分段、错误、复位等 TCP 计数;查 UDP 把参数换成 -p udp。

01命令

命令
$ netstat -s -p tcp

02作用说明

当下载很慢但 ping 正常时,重传和错误计数往往能说明问题。netstat -s 显示的是开机以来的累计值,间隔一段时间采样两次即可算出速率。Wi-Fi 环境下重传持续增长多半是信号问题;某个应用启动后复位计数飙升,则很可能是它在作怪。

03风险

风险低风险
使用条件Built into Windows 10/11; some sections are more complete in an admin prompt.

04撤销

✓无需撤销——该命令不会改变持久状态。

05来源

  • netstat
    Microsoft Learn · vendor-doc · 2026-09-17
    依据: Reference documents -s (per-protocol statistics) and -p (limit output to the TCP or UDP protocol).
  • Netstat — Display TCP/IP statistics
    SS64 · technical · 2026-09-17
    依据: Documents NETSTAT -s -p TCP for protocol-specific statistics including errors and resets.

最后验证: 2026-09-19 · 分类: 网络

06相关方案