need help re: script

Nathan Fredrickson 8nrf at qlink.queensu.ca
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:  http://dsh.sourceforge.net/

Nathan


_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list