speedtest-cliを使う
http://sheeplogh.hatenablog.com/entry/2013/12/03/124241
sudo pip install speedtest-cli
runnable
root@runnable:/var/www# speedtest-cli Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from Amazon.com (50.18.210.65)... Selecting best server based on latency... Hosted by Internode (San Jose, CA) [4.39 km]: 3.665 ms Testing download speed........................................ Download: 316.91 Mbits/s Testing upload speed.................................................. Upload: 4.86 Mbits/s
300Mbpsってはやい.
sakura VPS
$ speedtest-cli Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from SAKURA Internet Inc. (133.242.***.***)... Selecting best server based on latency... Hosted by Vladlink (Vladivostok) [1061.96 km]: 69.165 ms Testing download speed........................................ Download: 72.34 Mbits/s Testing upload speed.................................................. Upload: 27.20 Mbits/s
こっちは70Mbps程度