sudo apt install -y iperf
computer 1:
iperf -s
Computer 2:
iperf -c <other-computer-ip-or-hostname>
https://superuser.com/questions/1275043/measure-bandwidth-between-two-computer-in-a-lan