remove duplicate dump files
[gnt-info] / gnt-smart-query.sh
1 #!/bin/sh -xe
2
3 cp smart-query.sh /tmp/smart-query.sh
4 gnt-cluster copyfile /tmp/smart-query.sh
5 gnt-cluster command -M \
6         /tmp/smart-query.sh Power_On_Hours Reallocated_Sector_Ct $* \
7 | grep -v '^return' | grep -v '^--*$' \
8 | tee /dev/shm/gnt-smart-query | column -t -s :
9