pdsh

Parallel remote shell utility for executing commands on multiple hosts

brewmacoslinux
Try with needOr install directly
Source

About

Efficient rsh-like utility, for using hosts in parallel

Commands

pdshpdcpdshbak

Examples

Execute a command on multiple hosts in parallel$ pdsh -w host1,host2,host3 'uptime'
Copy a file to multiple remote hosts$ pdcp -w host[1-5] /local/file /remote/path/
Run command on hosts and format output by hostname$ pdsh -w host1,host2 'df -h' | dshbak -c