Linux/Ubuntu简单测量主机间的网络带宽
2021-07-07 本文已影响0人
有事找叮当
我们需要使用一个比较小的linux工具:iperf;Ubuntu是默认没有安装的,需要手动安装一下。如图所示;

首先看一下本机的ip地址;如图所示;

首先,本机以服务器模式启动。iperf -s;

在另一台主机上,同样安装iperf工具;使用iperf -c 选项。如图所示;以默认的窗口大小测试;

使用-i -t 选项,可以报告的时间间隔以及测试的时间;

如图所示,对应的服务器端的测试结果;
