Netcat measuring network speed: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "Category:Linux = Netcat measuring network speed = On server start <pre> ## Raw throughput, no disk nc -v -l 4242 > /dev/null ## Otherwise point to device you want to te...")
 
(No difference)

Latest revision as of 07:52, 19 June 2013


Netcat measuring network speed

On server start

## Raw throughput, no disk
nc -v -l 4242 > /dev/null

## Otherwise point to device you want to test
nc -v -l 4242 > /mnt/disk-to-test/

On client do:

dd if=/dev/zero bs=1024k count=10000 | nc -v ${SERVER} 4242

And you'll see something like this on the client:

  • 10485760000 bytes (10 GB) copied, 27.722 s, 378 MB/s