diff options
| author | doc <doc@filenotfound.org> | 2025-10-01 20:35:47 +0000 |
|---|---|---|
| committer | doc <doc@filenotfound.org> | 2025-10-01 20:35:47 +0000 |
| commit | 772152a5810aa8c4e03cf167381aadc4ec00499f (patch) | |
| tree | ba9418142f88622da878d9a3483c5da2da3e5c83 /monitor.sh | |
| parent | 13eb2d51c7284472efabc278bf9b7ec0b8575e47 (diff) | |
Diffstat (limited to 'monitor.sh')
| -rwxr-xr-x | monitor.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
