Windows增强工具:PsPing v2.1
- 前言
一般大家使用的都是系统默认自带的ping.exe工具,这次为大家带来的是增强版的PsPing.exe
可以使用ICMP ping、TCP ping、延迟测试latency test、带宽测试bandwidth test
上次博主为大家带来了一个windows下命令查询whois的小工具,这次的PsPing也同样来自微软!
- 工具下载
微软页面:
https://docs.microsoft.com/zh-cn/sysinternals/downloads/psping
直接下载地址:https://download.sysinternals.com/files/PSTools.zip
- 安装方法
下载压缩包并解压PsPing.exe或者PsPing64.exe,放到系统盘 C:\Windows\System32 目录下即可!
windows vista 或者 windows 7 系统可能需要需要管理员权限!
- 常用方法
打开 cmd 命令界面输入命令以及参数,常用测试类型:psping -? [i|t|l|b]
参数 描述
- -I Usage for ICMP ping.
- -T Usage for TCP ping.
- -L Usage for latency test.
-B Usage for bandwidth test.
- 其他参数
A、使用ICMP ping:
psping [[-6]|[-4]] [-h [buckets |, ,...]] [-i ] [-l [k|m] [-q] [-t|-n ] [-w ]
参数 描述
- -h Print histogram (default bucket count is 20).
- -i Interval in seconds. Specify 0 for fast ping.
- -l Request size. Append 'k' for kilobytes and 'm' for megabytes.
- -n Number of pings or append 's' to specify seconds e.g. '10s'.
- -q Don't output during pings.
- -t Ping until stopped with Ctrl+C and type Ctrl+Break for statistics.
- -w Warmup with the specified number of iterations (default is 1).
- -4 Force using IPv4.
- -6 Force using IPv6.
B、使用TCP ping:
psping [[-6]|[-4]] [-h [buckets |
C、TCP和UDP延迟测试
server: psping [[-6]|[-4]] [-f] <-s source:sourceport>
client: psping [[-6]|[-4]] [-f] [-u] [-h [buckets |
参数 描述
- -f Open source firewall port during the run.
- -u UDP (default is TCP).
D、TCP和UDP带宽测试
server: psping [[-6]|[-4]] [-f] <-s source:sourceport>
client: psping [[-6]|[-4]] [-f] [-u] [-h [buckets |
参数 描述
- -s Server listening address and port.
-b Bandwidth test.
- 更多参数详细使用方法可以参考微软官方文档
点击直达:→文档
....