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 =/

link|improve this question

feedback

2 Answers

up vote 4 down vote accepted

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.

link|improve this answer
Okay thanks. I think I'd rather test a public server than my workstation, because I'm on a pretty poor connection. I've tried googling for public iperf servers but I can't find one. Could you give me an example if you know where to find one please? – Matt Jun 26 '10 at 21:23
1  
@user45745, If you where using iperf to test from some public server you will have the same type of problem you have from a http download from some public server. You will have no way to know how much bandwidth is allocated and what else is going on. – Zoredache Jun 26 '10 at 21:57
@user45745: Google "iperf server" or "public iperf server". Several options come up among the first few pages of results. – Dennis Williamson Jun 26 '10 at 23:19
feedback

I like to wget an Linux ISO from a known fast internet mirror.

It's a quick sanity check for your internet speed test.

link|improve this answer
1  
+1 for wget; I use wget -O/dev/null to eliminate any disk bottlenecks. – jrod Jun 27 '10 at 0:26
Can you suggest any fast mirror for it? – Richards Sep 6 '11 at 18:50
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.