Newsgroups: comp.parallel.pvm
From: subraman@cs.iastate.edu (Krishnan Subramaniam)
Subject: Re: Removing /tmp/pvm* files..
Organization: Iowa State University, Ames, Iowa
Date: 23 Jan 95 23:29:37 GMT
Message-ID: <subraman.790903777@stimpy.cs.iastate.edu>

I have a shell script that will do the same thing - its quick
and DIRTY, but works quite well.


#!/bin/csh
echo "executing $* on each host"
foreach host ( `cat $PVM_ROOT/pvm.hosts` )
	echo "Host name: $host"
		remsh $host /tmp/pvm*  
	endif
end


I assume you have a file like pvm.hosts which lists all the hosts
in the virtual machine.
Actually you could with just a little modifications use this script
to perform any command on each of the hosts.

krishnan.

---
Krishnan R Subramaniam     subraman@cs.iastate.edu
grad student in CS - of course.

--
Krishnan R Subramaniam
Voice Mail : 515 - 296 4209.
Email	   : subraman@cs.iastate.edu   
HTML  	   : http://www.public.iastate.edu/~rsk/

