need help re: script

Nathan Fredrickson 8nrf at
Tue Jun 10 11:42:26 EDT 2003

> For your execution scripts you could do something like:
> #!/bin/bash
> # . /etc/profile for the environment, needs passwordless rsh
> NODES="node02 node01"
> for NODE in $NODES; do
> 	echo "---------- $NODE"
> 	rsh $NODE ". /etc/profile; $*"
> 	echo
> done
>There are many tools for that out there. Take a look at sourceforge.

The distributed shell is a perl script that is similar to above,
but has more features.  It has become my favorite cluster tool.
It can be found at:


Beowulf mailing list, Beowulf at
To change your subscription (digest mode or unsubscribe) visit

More information about the Beowulf mailing list