#!/bin/bash [[ ! -x `which dsh` ]] && echo install clusterit first && exit 1 ./gen-cluster-conf export CLUSTER=cluster.conf dsh -e -g servers "sudo /usr/local/bin/check_hw_resources || echo NOK"