add Power_On_Hours Reallocated_Sector_Ct
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 17 Feb 2020 20:04:39 +0000 (21:04 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 17 Feb 2020 20:04:39 +0000 (21:04 +0100)
gnt-smart-query.sh

index 92bfb91..4163c57 100755 (executable)
@@ -2,4 +2,8 @@
 
 cp smart-query.sh /tmp/smart-query.sh
 gnt-cluster copyfile /tmp/smart-query.sh
-gnt-cluster command -M /tmp/smart-query.sh $* | grep -v '^return' | grep -v '^--*$' | tee /dev/shm/gnt-smart-query | column -t -s :
+gnt-cluster command -M \
+       /tmp/smart-query.sh Power_On_Hours Reallocated_Sector_Ct $* \
+| grep -v '^return' | grep -v '^--*$' \
+| tee /dev/shm/gnt-smart-query | column -t -s :
+