mudrac2 reboot, resize zpool disk
[gnt-info] / gnt-smart-query.sh
index 4163c57..036d828 100755 (executable)
@@ -2,8 +2,12 @@
 
 cp smart-query.sh /tmp/smart-query.sh
 gnt-cluster copyfile /tmp/smart-query.sh
+
+# in column names, replace space with dot, eg:
+# Serial Number -> Serial.Number
+
 gnt-cluster command -M \
-       /tmp/smart-query.sh Power_On_Hours Reallocated_Sector_Ct $* \
+       /tmp/smart-query.sh Power_On_Hours Reallocated_Sector_Ct Serial.Number $@ \
 | grep -v '^return' | grep -v '^--*$' \
 | tee /dev/shm/gnt-smart-query | column -t -s :