使用speedomster测试网速

sudo apt-get install speedometer

查询需要测速的网卡 

speedometer -r ens33 -t ens33

ubuntu查看网速-LMLPHP

使用nload测试

sudo apt-get install nload

测速

nload -t 200 -i 1024 -o 128 -U M

​​​​​​​
ubuntu查看网速-LMLPHP

使用speedtest-cli测试网速

sudo apt-get install speedtest-cli

speedtest-cli

 到默认测试服务器的上传速度

$ speedtest-cli --no-download --bytes
Retrieving speedtest.net configuration...
Testing from China Telecom (113.65.31.118)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by HKIX (Hong Kong) [133.01 km]: 217.552 ms
Skipping download test
Testing upload speed......................................................................................................
Upload: 0.64 Mbyte/s

  到默认测试服务器的下载速度

speedtest-cli --no-upload --bytes
Retrieving speedtest.net configuration...
Testing from China Telecom (113.65.31.118)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by STC (Hong Kong) [134.49 km]: 187.916 ms
Testing download speed..........^C
Cancelling...

 小结

08-23 08:53