From 772152a5810aa8c4e03cf167381aadc4ec00499f Mon Sep 17 00:00:00 2001 From: doc Date: Wed, 1 Oct 2025 20:35:47 +0000 Subject: mirror scripts --- monitor.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 monitor.sh (limited to 'monitor.sh') diff --git a/monitor.sh b/monitor.sh new file mode 100755 index 0000000..16befe0 --- /dev/null +++ b/monitor.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo "=== Stygian Mirror Health ===" +echo -n "Load: " +uptime | awk -F'load average:' '{print $2}' +echo -n "Net throughput: " +vnstat -tr 5 | grep 'rx\|tx' +echo "ZFS I/O:" +zpool iostat -v 5 2 | tail -n +4 -- cgit v1.2.3