user@devops:~$ cat README.md
Memory Analyzer
# Description
Memory Analyzer is a Linux memory analysis CLI tool that reads statistics directly from /proc/meminfo and /proc/[pid]/status. Built in C++23 with CLI11 for argument parsing, nlohmann_json for structured JSON output, and spdlog for logging. It provides detailed system memory statistics (total, available, used, buffers, cache), swap usage, per-process memory with top-by-RSS, real-time monitoring with memory pressure bar, and output in table or JSON format. The RAII architecture with std::expected provides robust error handling without exceptions. Includes complete unit, integration, and benchmark tests with Catch2.
# Key features
$ Complete memory statistics from /proc/meminfo with 20+ fields
$ Top processes by RSS with name, PID, virtual memory and swap usage
$ Real-time monitoring with memory pressure bar and periodic refresh
$ Structured JSON output for integration with scripts and external tools
$ Compact single-line view for panel and status bar integration
$ RAII architecture with std::expected for exception-free error handling
$ Complete test coverage: unit, integration, and benchmarks with Catch2
# Gallery
# Technologies used