zpool status wrapper
authorAndrew Lorimer <andrew@charles.cortex>
Wed, 31 Oct 2018 03:33:11 +0000 (14:33 +1100)
committerAndrew Lorimer <andrew@charles.cortex>
Wed, 31 Oct 2018 03:33:11 +0000 (14:33 +1100)
zpoolstatus.sh [new file with mode: 0755]
diff --git a/zpoolstatus.sh b/zpoolstatus.sh
new file mode 100755 (executable)
index 0000000..c9525a2
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+iostat=`zpool iostat`
+status=`zpool status`
+echo "$iostat\n$status" > /var/log/zpool.log