scripts/mfi_status
changeset 32 e119fde089b8
equal deleted inserted replaced
31:50abf2d64158 32:e119fde089b8
       
     1 #!/bin/sh
       
     2 
       
     3 mfiutil show volumes | grep mfid | tr -d '()'|awk '{print "- mfi.status." $1 " " $5}'
       
     4 mfiutil show drives | tail -n +2 | tr -d '()' | sed -e 's/HOT /HOT_/' -e 's/UNCONFIGURED /UNCONFIGURED_/' | awk '{print $3}'|sort | uniq -c | awk '{print "- mfi.drives." $2 " " $1}'