1 article
Sunday, Jul 10, 2022
shell腳步監控SoftRaid的N種寫法分享 !/bin/bash mdstat=$cat /proc/mdstat | awk '{print $6}' | grep -A1 'sd' | grep U 0='U' 1='' if $mdstat = 1 then echo '...