X-Git-Url: http://git.rot13.org/?p=gnt-info;a=blobdiff_plain;f=gnt-disks.sh;h=8add73ed097a5fd87e7b7dfce328ae8b8c07e816;hp=7764bddc41f4d2bd4d3a50571181038201339b61;hb=39ff28bd44d53a9ff87098bb3e4420fa57198559;hpb=04a9a9bf77f94913d7956a52f1c9c0a293f66776 diff --git a/gnt-disks.sh b/gnt-disks.sh index 7764bdd..8add73e 100755 --- a/gnt-disks.sh +++ b/gnt-disks.sh @@ -6,4 +6,4 @@ echo "# from lsblk" gnt-cluster command -M lsblk --scsi --output SIZE,MODEL --noheadings --bytes | grep -v '^return' | grep -v '^----*$' | tee /dev/shm/gnt-disk-size-model | cut -d: -f2- | sort | uniq -c | sort -k2 -n | tee /dev/shm/gnt-disks-models echo "# from smart" -cat /dev/shm/gnt-smart-query | cut -d: -f3,4 | sort | uniq -c +cat /dev/shm/gnt-smart-query | cut -d: -f3,4 | sort | uniq -c | tee /dev/shm/gnt-disks-smart | column -s : -t