wiki'd

by JoKeru

Network Speed with NetCat and DD

Server 1
[cc lang='bash']
\$ nc -vnlp 2222 > /dev/null
listening on [any] 2222 ...
connect to [10.20.30.40] from (UNKNOWN) [50.60.70.80] 46726
[/cc]

Server 2
[cc lang='bash']
\$ dd if=/dev/zero bs=10240K count=100 | nc -nv 10.20.30.40 2222
(UNKNOWN) [10.20.30.40] 2222 (?) open
100+0 records in
100+0 records out
1048576000 bytes (1.0 GB) copied, 10.0418 s, 104 MB/s
[/cc]

Comments