iperf的简易使用
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
资源地址
https://download.csdn.net/download/weixin_43431593/19341608
1、里面包含iperf的win和linux版本
2、win里面使用的是iperf.exe指令,直接解压即可通过cmd窗口来使用
3、linux则需要把文件iperf上传到linux系统任意目录,赋予最高权限后使用
使用方式
这里的PC端是个人电脑,设备端是linux设备,二者均可作为设备端或服务端,但要互斥。这里提供两种方式:
测试方式一:
PC端(服务端)指令
iperf.exe -s -u -i -I 36k -w 1M
设备端(客户端)指令
./iperf -c 10.12.1.130 -u -b 100M -i 1 -w 1M -t 60 -l 36k
测试方式二:
设备端(服务端)指令
./iperf -s -u -i -I 36k -w 1M
PC端(客户端)指令
iperf.exe -c 10.12.1.129 -u -b 100M -i 1 -w 1M -t 60 -l 36k
备注:-b 是推送的带宽,-t 是测试的时间
实践情况
PC端:
iperf.exe -c 192.1.168.220 -t 60 -i 1 -u -b 1000m -w 1m -l 36k
盒子端:
iperf -s -u -i 1 -w 1m -l 36k
上行情况:
------------------------------------------------------------
Client connecting to 10.12.1.129, UDP port 5001
Sending 36864 byte datagrams
UDP buffer size: 1.00 MByte
------------------------------------------------------------
[ 3] local 10.12.1.130 port 62582 connected with 10.12.1.129 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 105 MBytes 884 Mbits/sec
[ 3] 1.0- 2.0 sec 105 MBytes 878 Mbits/sec
[ 3] 2.0- 3.0 sec 106 MBytes 886 Mbits/sec
[ 3] 3.0- 4.0 sec 106 MBytes 889 Mbits/sec
[ 3] 4.0- 5.0 sec 106 MBytes 891 Mbits/sec
[ 3] 5.0- 6.0 sec 106 MBytes 889 Mbits/sec
[ 3] 6.0- 7.0 sec 107 MBytes 895 Mbits/sec
[ 3] 7.0- 8.0 sec 106 MBytes 885 Mbits/sec
[ 3] 8.0- 9.0 sec 105 MBytes 882 Mbits/sec
[ 3] 9.0-10.0 sec 106 MBytes 891 Mbits/sec
[ 3] 10.0-11.0 sec 104 MBytes 875 Mbits/sec
[ 3] 11.0-12.0 sec 105 MBytes 882 Mbits/sec
[ 3] 12.0-13.0 sec 106 MBytes 889 Mbits/sec
[ 3] 13.0-14.0 sec 105 MBytes 877 Mbits/sec
[ 3] 14.0-15.0 sec 105 MBytes 880 Mbits/sec
[ 3] 15.0-16.0 sec 106 MBytes 892 Mbits/sec
[ 3] 16.0-17.0 sec 106 MBytes 889 Mbits/sec
[ 3] 17.0-18.0 sec 105 MBytes 877 Mbits/sec
[ 3] 18.0-19.0 sec 105 MBytes 877 Mbits/sec
[ 3] 19.0-20.0 sec 106 MBytes 887 Mbits/sec
[ 3] 20.0-21.0 sec 105 MBytes 878 Mbits/sec
[ 3] 21.0-22.0 sec 107 MBytes 901 Mbits/sec
[ 3] 22.0-23.0 sec 105 MBytes 881 Mbits/sec
下行情况
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 36864 byte datagrams
UDP buffer size: 416 KByte (WARNING: requested 1.00 MByte)
------------------------------------------------------------
[ 3] local 10.12.1.129 port 5001 connected with 10.12.1.130 port 62582
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 0.0- 1.0 sec 102 MBytes 856 Mbits/sec 0.343 ms 72/ 2973 (2.4%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 1.0- 2.0 sec 106 MBytes 885 Mbits/sec 0.194 ms 0/ 3001 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 2.0- 3.0 sec 105 MBytes 879 Mbits/sec 0.409 ms 0/ 2980 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 3.0- 4.0 sec 106 MBytes 889 Mbits/sec 0.098 ms 0/ 3014 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 4.0- 5.0 sec 106 MBytes 893 Mbits/sec 0.545 ms 0/ 3027 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 5.0- 6.0 sec 106 MBytes 891 Mbits/sec 0.136 ms 0/ 3022 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 6.0- 7.0 sec 106 MBytes 891 Mbits/sec 0.119 ms 0/ 3020 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 7.0- 8.0 sec 106 MBytes 885 Mbits/sec 0.129 ms 0/ 3002 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 8.0- 9.0 sec 105 MBytes 882 Mbits/sec 0.180 ms 0/ 2990 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 9.0-10.0 sec 106 MBytes 891 Mbits/sec 0.120 ms 0/ 3022 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 10.0-11.0 sec 104 MBytes 875 Mbits/sec 0.363 ms 0/ 2967 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 11.0-12.0 sec 106 MBytes 890 Mbits/sec 0.606 ms 0/ 3018 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 12.0-13.0 sec 105 MBytes 882 Mbits/sec 0.497 ms 0/ 2990 (0%)
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献15条内容
所有评论(0)