Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

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

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

3 Answers 3

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
share|improve this answer
    
this is not the answer to the question. –  Dennis Nolte Jul 11 at 9:26

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.

share|improve this answer

You might want to try using iperf for bandwidth measurements

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.