Trace the Network Path to a Website
Find where a connection becomes slow by printing every router hop with traceroute.
01Command
$ traceroute -w 2 example.com02What it does
When a site is unreachable or slow, traceroute shows the chain of routers your packets pass through. If the first hops are fine but a later hop stops responding, the problem is outside your home network — useful evidence before blaming your router or ISP. The -w 2 option stops each hop from hanging for a long time on firewalled routers.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- traceroute — print the route packets take to a host (macOS man page)Evidence: Documents traceroute tracing the IP route to a host and printing each hop with timings.
Last verified: 2026-09-18 · Category: Network
06Related solutions
Erase the broken Spotlight database so macOS re-indexes your drive from scratch.
Read the serial number, model identifier and chip without opening About This Mac.
See how many charge cycles the battery has used and its health condition.