projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cb1a199
)
sort gnt-disks-models by size
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 17:36:55 +0000
(18:36 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 17:37:24 +0000
(18:37 +0100)
gnt-disks.sh
patch
|
blob
|
history
diff --git
a/gnt-disks.sh
b/gnt-disks.sh
index
8be6876
..
56c0ca1
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 | 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