Computer Tips - Linux: measure bandwidth between two machines

Date: 2021mar20 OS: Linux Q. Linux: measure bandwidth between two machines A. Use iperf To install (RedHat/Fedora/CentOS):
dnf install iperf
On both client and server. Open TCP port 5001 on the server. On the server run:
iperf -s
On the client run:
iperf -c <server-IP-address>
It takes under a minute to run a test and the results are displayed on both machines. You can change the port with -p <port> And there are many other options.