From: Andrew Lorimer Date: Wed, 31 Oct 2018 03:33:11 +0000 (+1100) Subject: zpool status wrapper X-Git-Url: https://git.lorimer.id.au/scripts.git/diff_plain/a740ecea89866e0f57486216b05fd10716f9f9dd?ds=sidebyside zpool status wrapper --- 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