This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux:network [2016/08/15 22:41] tkilla |
linux:network [2021/03/11 02:20] (current) tkilla [iperf] |
||
---|---|---|---|
Line 37: | Line 37: | ||
==== iperf ==== | ==== iperf ==== | ||
+ | |||
+ | Measures the bandwith of a connections | ||
iperf -c iperf.ovh.net -m -i 1 -t 10 -r | iperf -c iperf.ovh.net -m -i 1 -t 10 -r | ||
+ | |||
+ | It's usefull to check LAN Cables: | ||
+ | Connect two computers with the cable, setup static IP Addresses and start iperf on both: | ||
+ | |||
+ | Server mode on 1. box: | ||
+ | iperf -s | ||
+ | |||
+ | Client mode on 2. box: | ||
+ | iperf -c <IP Address of box 1> | ||
+ | |||
+ | |||
+ | In the results you get the Banwidth: | ||
+ | [ 4] local <IP Addr node2> port 5001 connected with <IP Addr node1> port 2357 | ||
+ | [ ID] Interval | ||
+ | [ 4] 0.0-10.1 sec 6.5 MBytes | ||