How to measure network speed in Linux (using netcat)

# install
$ sudo yum install nc | sudo apt-get install netcat

$(server) nc -lk 2112 >/dev/null
$(client) dd if=/dev/zero bs=16000 count=625 | nc -v server 2112
Connection to server 2112 port [tcp/idonix-metanet] succeeded!
625+0 records in
625+0 records out
10000000 bytes (10 MB) copied, 0.121985 s, 82.0 MB/s

from Linux Network Speed Test

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s