LinuxCommandLibrary

nuttcp

TLDR

Start server

$ nuttcp -S
copy
Test throughput to server
$ nuttcp [server_ip]
copy
Test UDP throughput
$ nuttcp -u [server_ip]
copy
Specify bandwidth limit
$ nuttcp -R [100M] [server_ip]
copy
Test for specific duration
$ nuttcp -T [30] [server_ip]
copy
Bidirectional test
$ nuttcp -r [server_ip]
copy

SYNOPSIS

nuttcp [options] [host]

DESCRIPTION

nuttcp is a network performance measurement tool. It measures TCP and UDP throughput between systems, providing detailed statistics about network performance.
nuttcp is similar to iperf but with some different features and reporting format.

PARAMETERS

-S

Server mode.
-u
UDP mode (default TCP).
-R rate
Rate limit (K, M, G).
-T time
Test duration.
-t
Transmitter mode.
-r
Receiver mode.
-p port
Data port.
-P port
Control port.
-w size
Window size.

EXAMPLE OUTPUT

$    84.8594 MB /  10.00 sec =   71.1477 Mbps 0 retrans
copy

CAVEATS

Requires server on remote end. Firewall must allow ports. UDP tests may show packet loss. Results affected by other traffic.

HISTORY

nuttcp was developed by Bill Fink at NLANR/DAST as a network testing tool, building on the earlier ttcp.

SEE ALSO

iperf3(1), iperf(1), netperf(1), tc(8)

Copied to clipboard