A simple "top" tool for mulitple device raid
Quite simply, this tool reads the info from /proc/mdstat and dumps it to the screen every 0.5 seconds
What this needs:
-Looking to implement a better TUI like htop or btop.
-Code that is commented out reads /proc/mounts and searches for /dev/md, but doesn't work.
-Check for memory leaks, bugs, errors, and comaptability.
I'm just a hobbyist, so anything helps the code and hopefully I'll learn something too.
Compile the program on linux:
simply just compile with g++
g++14 and newer should work
g++ mdtop.cpp -o mdtop