Friday, October 1, 2010

How to test internal network speed? (solution?)

Hi, if you don't know about iperf - profi network speed testing then you can use this alternative.
I need to know what is the network speed between two computers and solved such way:

1. started sending data from /dev/zero with "pv /dev/zero | netcat -v -l -p 3333"

2. Then on the client started to receive the data:

lnx_client #> netcat -v ws2 3333 > /dev/null
where ws2 is the server that listen on 3333

3. Tested on server the connection between them:
lnx_srv #> watch "netstat -tn | grep -i 3333"

4. The speed can be read here:

No comments:

Post a Comment