NetWatch: real-time network diagnostics in the terminal (open source)

Posted by Potential-Access-595@reddit | linuxadmin | View on Reddit | 23 comments

NetWatch: real-time network diagnostics in the terminal (open source)

I built NetWatch to make transient network incidents easier to catch from a terminal session.

It already handled interface stats, live connections, packet capture, health probes, traceroute, and process bandwidth. The new part is a rolling Flight Recorder:

- arm a 5-minute capture window

- let it rotate in the background

- freeze when the issue happens

- export a bundle with `packets.pcap`, connections, health snapshots, bandwidth context, DNS analytics, alerts, and a summary

The goal is to keep both the packet evidence and the surrounding operational state instead of only dumping a pcap after the fact.

Open source:

https://github.com/matthart1983/netwatch

Would love feedback from people who do real incident response or production debugging.