vote up 0 vote down star

Hi Guys,

I'm trying to verify the available bandwidth for my linux box. Is there a test I can run from the command line?

flag

3 Answers

vote up 1 vote down check

If you can't be bothered to install iperf (see qedi's answer), you could precede any command that shifts a known amount of data with the time command and do a sum.

link|flag
Thanks, I ended up just using wget as change management to install is a bear. =) – Mikey.B Dec 9 at 19:40
vote up 3 vote down

iperf is simple and easy to use.

It requires a client and server.

(on the server)

 user@server$ iperf -s

(on the client)

 user@client$ iperf -c server.domain
 ------------------------------------------------------------
 Client connecting to 192.168.1.1, TCP port 5001
 TCP window size: 16.0 KByte (default)
 ------------------------------------------------------------
 [  3] local 192.168.1.3 port 52143 connected with 192.168.1.1 port 5001
 [ ID] Interval       Transfer     Bandwidth
 [  3]  0.0-10.0 sec    113 MBytes  94.7 Mbits/sec
link|flag
vote up 2 vote down

Yep. You need ssh login somewhere:

dd if=/dev/zero bs=50MB count=1 | ssh user@server 'cat > /dev/null'
link|flag

Your Answer

Get an OpenID
or
never shown

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