Linux – Speed test via command line

linuxperformanceUbuntu

I'm using a remote dedicated server running ubuntu server edition, and I have no idea what the upload/download speeds are.

Is there a reliable method to test these speeds via the command line? I know you can just download a file and look at the rate, but that depends on the speed of the hosting server and you don't get an upload speed =/

Best Answer

Check out iperf. Just start up iperf on your server and connect to it with iperf running on your workstation. It'll do bi-directional speed tests. If you want to test connectivity to other well-connected networks, there are some public iperf servers around. Just google and you'll find some.

Related Topic