user@devops:~$ cat README.md
Disk Analyzer
# Description
Disk Analyzer is a Linux disk I/O monitoring CLI tool that reads statistics directly from /proc/diskstats and /sys/block. Built in C++23 with CLI11 for argument parsing, nlohmann_json for structured JSON output, and spdlog for logging. It provides detailed disk statistics (completed reads/writes, transferred sectors, I/O times), device information (model, size, HDD/SSD type), real-time bandwidth monitoring with IOPS calculation, 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
$ Disk I/O statistics from /proc/diskstats: reads/writes, sectors, I/O times, in-progress operations
$ Device information from /sys/block: model, size, type (HDD/SSD), total sectors
$ Real-time bandwidth monitoring with IOPS calculation and periodic refresh
$ Structured JSON output for integration with scripts and external tools
$ Device filtering and configurable monitor interval
$ RAII architecture with std::expected for exception-free error handling
$ Complete test coverage: unit, integration, and benchmarks with Catch2
# Gallery
# Technologies used