projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9448730
)
save output in /dev/shm
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 16:33:21 +0000
(17:33 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 16:33:21 +0000
(17:33 +0100)
gnt-pv-usage.sh
patch
|
blob
|
history
diff --git
a/gnt-pv-usage.sh
b/gnt-pv-usage.sh
index
8b26ff8
..
5e3f39f
100755
(executable)
--- a/
gnt-pv-usage.sh
+++ b/
gnt-pv-usage.sh
@@
-1,2
+1,4
@@
-gnt-cluster command -M pvs --units t --noheadings | grep -v '^return' | awk '{ print $0 " " $6 - $7 }'
+#!/bin/sh -xe
+
+gnt-cluster command -M pvs --units t --noheadings | grep -v '^return' | awk '{ print $0 " " $6 - $7 }' | tee /dev/shm/gnt-pv-usage