Andrew's git
/
scripts.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
zpool status wrapper
author
Andrew Lorimer
<andrew@charles.cortex>
Wed, 31 Oct 2018 03:33:11 +0000
(14:33 +1100)
committer
Andrew Lorimer
<andrew@charles.cortex>
Wed, 31 Oct 2018 03:33:11 +0000
(14:33 +1100)
zpoolstatus.sh
[new file with mode: 0755]
patch
|
blob
raw
|
patch
| inline |
side by side
(parent:
868b8bf
)
diff --git a/zpoolstatus.sh
b/zpoolstatus.sh
new file mode 100755
(executable)
index 0000000..
c9525a2
--- /dev/null
+++ b/
zpoolstatus.sh
@@ -0,0
+1,5
@@
+#! /bin/bash
+
+iostat=`zpool iostat`
+status=`zpool status`
+echo "$iostat\n$status" > /var/log/zpool.log