user@devops:~$ cat README.md
Net Analyzer
# Description
Net Analyzer is a Linux network monitoring CLI tool that reads interface statistics and TCP connections directly from /proc/net/. Built in C++23 with CLI11 for argument parsing, nlohmann_json for structured JSON output, and spdlog for logging. It provides detailed network interface statistics (RX/TX bytes, packets, errors, drops), active TCP connection listing with associated process detection, real-time bandwidth monitoring with periodic refresh, and output in table or JSON format. The RAII architecture with std::expected provides robust error handling without exceptions. Includes full unit test, integration test, and benchmark coverage with Catch2.
# Key features
$ Network interface statistics from /proc/net/dev with RX/TX bytes, packets, errors, and drops
$ Active TCP connections from /proc/net/tcp and /proc/net/tcp6 with associated process detection
$ Real-time bandwidth monitoring with automatic calculation and periodic refresh
$ Structured JSON output integrable with scripts and external tools
$ Interface filtering and configurable monitor interval
$ RAII architecture with std::expected for error handling without exceptions
$ Full test coverage with unit, integration, and benchmark tests using Catch2
# Gallery
# Technologies used