projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbd111
)
display pv usage for cluster
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 16:28:14 +0000
(17:28 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 16:28:14 +0000
(17:28 +0100)
gnt-pv-usage.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/gnt-pv-usage.sh
b/gnt-pv-usage.sh
new file mode 100755
(executable)
index 0000000..
8b26ff8
--- /dev/null
+++ b/
gnt-pv-usage.sh
@@ -0,0
+1,2
@@
+gnt-cluster command -M pvs --units t --noheadings | grep -v '^return' | awk '{ print $0 " " $6 - $7 }'
+