Check remaining life on Isilon Boot Drives

Post Reply
chris
Site Admin
Posts: 14
Joined: Mon Dec 09, 2019 6:55 pm

Check remaining life on Isilon Boot Drives

Post by chris » Tue Dec 10, 2019 9:56 am

Code: Select all



 uname -a|awk '{print $1,$2,$4}'; isi_for_array -s "isi_hw_status|grep SerNo"; isi_for_array -s isi_radish -a /dev/ad*|egrep 'SN:|Percent Life'|grep -v Used|sed -e 's/Percent Life Remaining:/PercentLifeRemaining %/' -e 's/Percent Lifetime Left:/PercentLifeRemaining %/' -e 's/is .*//'|awk '{print $1,$2,$3, sprintf("%d","0x"$8 )}'|sed -e 's/% 0/%0/' -e 's/ 0//'



Post Reply