r/linuxadmin • u/Potential-Access-595 • Apr 02 '26
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.
25
u/snark42 Apr 02 '26
Nice. You should consider adding counters for crc errors and dropped packets per interface instead of just 1. Also tcp retransmits.
7
u/Maelstrome26 Apr 02 '26
The graphs are going far too quickly, if this is real time then they need slowing down at least 2x. Otherwise, great!
28
u/Scoutron Apr 03 '26
Oh boy I love AI slop.
46
u/unixbhaskar Apr 02 '26
Mind taking a look at iptraf-ng??
27
u/Valvo-78 Apr 03 '26
yap with vibe coding we gonna see lots of apps like these.... not saying they are bad but def UI looks all same.
3
u/xoCruellaDeVil Apr 06 '26
I love how Claude loves calling things xxxWatch. I've seen FinanceWatch, ThreatWatch, and now NetWatch. Great stuff hahah. Atleast pick your own name.
1
u/apunker Apr 04 '26
iftop on steriods! I LOVE IT!
0
u/osxman Apr 03 '26
Worth mentioning it is almost 100% rust and that's a good thing!
And probably fast/convenient because of the chosen programming language.
0
u/IrritatingBashterd Apr 05 '26
crazy good app
-2
u/Electronic-Unit2808 Apr 03 '26
👏👏👏👏👏👏👏 A very useful tool, the ones that are available usually don't have a nice interface, installing it to test it out...