Netperf is much better way to measure network bandwidth, then using ftp/sftp, as many OPS do.
stx153:~# aptitude search netperf p netperf - Network performance benchmark stx153:~# aptitude install netperf
Remove startup links, we don`t need netperf to be started at runtime.
stx153:~# update-rc.d -f netperf remove Removing any system startup links for /etc/init.d/netperf ... /etc/rc0.d/K20netperf /etc/rc1.d/K20netperf /etc/rc2.d/S20netperf /etc/rc3.d/S20netperf /etc/rc4.d/S20netperf /etc/rc5.d/S20netperf /etc/rc6.d/K20netperf stx153:~# #/etc/init.d/netperf start
How to test:
There are a lot of netperf options, in general, but usually we need only test and CPU.
:~#man netperf :~# netperf -H server.mydomain.com -c -C TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to server.mydomain.com (10.253.46.1) port 0 AF_INET : demo Recv Send Send Utilization Service Demand Socket Socket Message Elapsed Send Recv Send Recv Size Size Size Time Throughput local remote local remote bytes bytes bytes secs. 10^6bits/s % S % S us/KB us/KB 87380 87380 87380 10.09 86.29 8.67 2.37 65.847 18.012
0 Comments.