NetWatch, a free, MIT-licensed network diagnostics tool that runs in the terminal.
"The internet dropped again" doesn't tell you much, so NetWatch logs each outage it sees with the start time, duration and which part failed:
- gateway: your router or LAN
- internet: your ISP or beyond
- dns: name resolution only
netwatch uptime --since 30d --md > outages.md writes a report you can attach to an ISP ticket. It only covers time when NetWatch was running, so for a continuous record, run netwatch daemon. The internet check needs third-party probes turned on.
It also does:
- live packet capture with protocol decoding and PCAP export
- connections by process, where the OS and permissions allow it
- per-interface throughput, errors and drops
- traceroute and a topology view
- TLS decryption of your own traffic using SSLKEYLOGFILE
- a one-off check with netwatch diagnose run --budget 30s
It runs on Linux, macOS and Windows (Windows needs Npcap). Some features differ by platform, and capture needs elevated access.
Repo and install instructions: https://github.com/matthart1983/netwatch