iperf3

Network bandwidth measurement tool for TCP, UDP, and SCTP protocols

brewmacoslinux
Try with needOr install directly
Source

About

Update of iperf: measures TCP, UDP, and SCTP bandwidth

Commands

iperf3

Examples

Start iperf3 in server mode listening on default port 5201$ iperf3 -s
Run client test connecting to server and measure bandwidth for 10 seconds$ iperf3 -c 192.168.1.100 -t 10
Test UDP bandwidth with 4 parallel streams to a server$ iperf3 -c 192.168.1.100 -u -P 4 -b 100M