Network measurement tools: a practical toolbox

Updated November 2026

When a network is slow or broken, a dozen free tools answer most questions: is the host reachable, where does the path go, where is the loss, how much throughput is really there, and what the packets actually say. Start at the top of the list and work down; each tool narrows the problem for the next one.

The toolbox

Common tools, what they are for, and a typical command
ToolUse it toExample
pingCheck reachability, round-trip time and lossping -c 20 example.com
ping (MTU test)Find whether 1,500-byte packets pass unfragmentedping -M do -s 1472 example.com
tracerouteList the routers on the pathtraceroute -n example.com
tracepathTrace the path and discover its MTU, without roottracepath -n example.com
mtrPing every hop repeatedly and show loss and delay per hopmtr -rwc 100 example.com
iperf3Measure achievable TCP or UDP throughput between two hostsiperf3 -c server -R
tcpdumpCapture packets on the command linesudo tcpdump -i eth0 -n port 53
WiresharkCapture and decode packets in a graphical toolDisplay filter ip.addr==192.0.2.10
ssList sockets and show per-connection TCP details (RTT, congestion window)ss -ti
nstatRead kernel counters such as TCP retransmissionsnstat TcpRetransSegs
ethtoolCheck NIC speed, driver, offloads and error countersethtool -S eth0
perfSONARRun scheduled latency, loss and throughput tests between sitespscheduler task rtt --dest host.example.net
RIPE AtlasRun ping, traceroute, DNS, TLS and NTP tests from thousands of probes worldwideCreate a measurement on atlas.ripe.net

A simple order of work

  1. Reachability and delay: ping. Note the minimum round-trip time; it is your baseline. Ping prints min/avg/max/mdev at the end, where mdev shows how much the delay varies.
  2. Path: mtr or tracepath. Loss that starts at one hop and continues to the destination points to that hop or link. Loss that shows at one middle hop but not at the hops after it is usually that router being slow to answer probes addressed to itself, not loss on the path.
  3. Throughput: iperf3 in both directions (-R reverses). If the result is far below the link speed on a long path, read about the TCP window size and TCP tuning.
  4. Host and NIC: ss -ti, nstat and ethtool -S show retransmissions, small windows and interface errors on the machine itself.
  5. Packets: when you still do not know, capture with tcpdump and read the trace in Wireshark.

Measure from more than one place. A problem seen from one host only is usually local. RIPE Atlas probes and perfSONAR nodes let you test the same path from outside.

Guides in this section

Sources