在Linux下可以通过curl命令快速的测试网络带宽。命令如下:
curl -O http://192.168.1.31/openx-2.8.9.tar.gz
输出如下:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.9M 100 10.9M 0 0 10.5M 0 0:00:01 0:00:01 --:--:-- 10.5M
最后一列就是带宽,单位是Byte,换成bits就是100M bits
除非注明,本博客文章均为原创,转载请以链接形式标明本文地址
本文地址: http://blog.cnwyhx.com/test_network_bandwidth_by_curl