Does anyone know a way I can test a Linux servers connection speed from ssh? I could use wget but I can't find a file that can be downloaded fast enough. I'm trying to verify that the server can do a gigabit per second.

link|improve this question
You might get better answers on serverfault.com – bstpierre Aug 18 '10 at 12:04
feedback

migrated from stackoverflow.com Aug 18 '10 at 22:37

This question came from our site for professional and enthusiast programmers.

3 Answers

You might want to try using iperf for bandwidth measurements

link|improve this answer
feedback

This will create 1Gigabit file named out.bin. Change the bs parameter value for a greater file.

dd if=/dev/zero of=out.bin bs=1000000000 count=1
link|improve this answer
feedback

You could use something like the aria2c downloader. It's like wget, but it supports more methods of downloading, including splitting a file up and downloading bits of it from multiple sources. So, you could find a bunch of mirrors for some popular linux distro and have aria2 download from a bunch of them all at once. If you aren't maxing the line, just try adding more mirrors. Crude, but if you can't find a better method it might come in useful.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown