display pv usage for cluster
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 17 Feb 2020 16:28:14 +0000 (17:28 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 17 Feb 2020 16:28:14 +0000 (17:28 +0100)
gnt-pv-usage.sh [new file with mode: 0755]

diff --git a/gnt-pv-usage.sh b/gnt-pv-usage.sh
new file mode 100755 (executable)
index 0000000..8b26ff8
--- /dev/null
@@ -0,0 +1,2 @@
+gnt-cluster command -M pvs --units t --noheadings | grep -v '^return' | awk '{ print $0 " " $6 - $7 }'
+