#!/bin/bash ### check all the ZFS pools and shares ### pass the admin hostname (or ip) for the ZFS you want to check if [ "$#" -ne 1 ] then echo "usage: $0 " exit 1 fi ssh -T root@${1} <