to execute the same command on a set of machines:
pssh -h ~/bin/spiders.pssh -o ./cluster.log " df -h | grep local"
where
spiders.pssh
is a file containing all the servers addresses
pssh -h ~/bin/spiders.pssh -o ./cluster.log " df -h | grep local"
where
spiders.pssh
is a file containing all the servers addresses
No comments:
Post a Comment