From a740ecea89866e0f57486216b05fd10716f9f9dd Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Wed, 31 Oct 2018 14:33:11 +1100 Subject: [PATCH] zpool status wrapper --- zpoolstatus.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 zpoolstatus.sh diff --git a/zpoolstatus.sh b/zpoolstatus.sh new file mode 100755 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 -- 2.47.0