scripts/domain-check by Matty (http://www.cyberciti.biz/files/scripts/domain-check-2.txt)
# Solaris specific checks# smf(5) monitoring:# Returns service status of $1, see svcs(1), should be 'online'UserParameter=smf.service.state[*],svcs -H -o state $1