LinuxCommandLibrary

netperf

Client-side command for `netperf`, the benchmarking application that measures network throughput. Similar to `iperf`.

TLDR

Connect to server on a specific IP address via default port (12865)

$ netperf [address]
copy


Specify [p]ort
$ netperf [address] -p [port]
copy


Specify the sampling [l]ength in seconds (default is 10)
$ netperf [address] -l [seconds]
copy


Force IPv[4] or IPv[6]
$ netperf [address] -[4|6]
copy

Copied to clipboard