projects
/
gnt-info
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
note about refresing smart dumps
[gnt-info]
/
gnt-disks.sh
diff --git
a/gnt-disks.sh
b/gnt-disks.sh
index
8be6876
..
e063925
100755
(executable)
--- a/
gnt-disks.sh
+++ b/
gnt-disks.sh
@@
-2,5
+2,5
@@
gnt-cluster command -M lsblk --scsi -m | grep -v '^return' | tee /dev/shm/gnt-disks | grep -v cdrom
gnt-cluster command -M lsblk --scsi -m | grep -v '^return' | tee /dev/shm/gnt-disks | grep -v cdrom
-gnt-cluster command -M lsblk --scsi --output SIZE,MODEL --noheadings
| grep -v '^return' | grep -v '^----*$' | tee /dev/shm/gnt-disk-size-model | cut -d: -f2- | sort | uniq -c
+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