$ cd ../
Disk Watch — bash

user@devops:~$ cat README.md

Disk Watch

# Description

Disk Watch is a Linux disk I/O monitor in C++23 that reads detailed statistics from /proc/diskstats and presents them in multiple formats. Built with CLI11 for argument parsing, nlohmann_json for structured JSON output, and spdlog for logging. Features a formatted device table with IOPS, bytes read/written, and average latency; interactive watch mode with delta IOPS and realtime throughput; aggregated system summary; and device information from sysfs (model, size, HDD/SSD). Automatically excludes virtual devices (loopback, RAM, dm-). Library/executable architecture with Catch2 v3 unit and integration tests.

# Key features

$ Device table with IOPS, transferred bytes, and average latency per device

$ Realtime watch mode with delta IOPS and throughput via periodic polling

$ Structured JSON output for script and external tool integration

$ Aggregated system summary of total reads/writes

$ Device information from /sys/block: model, size, HDD/SSD type

$ Automatic virtual device exclusion (loop, ram, dm-)

$ RAII architecture with std::expected for robust error handling

# Gallery

Desktop view
Disk Watch - Desktop view
Mobile view
Disk Watch - Mobile view

# Technologies used

C++23 CLI11 nlohmann_json spdlog Catch2