1 2
PyMDstat is a pythonic library to parse /proc/mdstat, which shows a snapshot of the kernel's RAID/md state.