参考地址:http://ponyjia.blog.51cto.com/917324/830800
tcp测速方式
1)使用 iperf -s 命令将 Iperf 启动为 server 模式:
iperf –s
————————————————————
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————
2)启动客户端,向IP为10.230.48.65的主机发出TCP测试,并每2秒返回一次测试结果:
iperf -c 10.230.48.65 -i 2
3)以Mbytes/sec为单位显示测试结果:
iperf -c 10.230.48.65 -f M -i 2
4)设置TCP传输窗口大小为300K
iperf -s -w 300K
————————————————————
Server listening on TCP port 5001
TCP window size: 300 KByte
———————————————————
[popexizhi]
配合iftop一起使用,试试读取效果还是不错的:)
tcp测速方式
1)使用 iperf -s 命令将 Iperf 启动为 server 模式:
iperf –s
————————————————————
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————
2)启动客户端,向IP为10.230.48.65的主机发出TCP测试,并每2秒返回一次测试结果:
iperf -c 10.230.48.65 -i 2
3)以Mbytes/sec为单位显示测试结果:
iperf -c 10.230.48.65 -f M -i 2
4)设置TCP传输窗口大小为300K
iperf -s -w 300K
————————————————————
Server listening on TCP port 5001
TCP window size: 300 KByte
———————————————————
[popexizhi]
配合iftop一起使用,试试读取效果还是不错的:)
没有评论:
发表评论