iperf

Measure maximum TCP and UDP bandwidth performance between hosts

brewmacoslinux
Try with needOr install directly
Source

About

Tool to measure maximum TCP and UDP bandwidth

Commands

iperf

Examples

Start iperf server listening on default port 5001$ iperf -s
Run client connecting to server at 192.168.1.100 for 10 seconds$ iperf -c 192.168.1.100 -t 10
Test UDP bandwidth with 100Mbps bitrate to server$ iperf -c 192.168.1.100 -u -b 100m