-->

Saturday, March 9, 2013

bash commands in parallel on a cluster of machines

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 

No comments:

Post a Comment