to run a rsh remote command

parag <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <e51a390a-c3ee-40f7-995a-4d76fd5ad3b8@f36g2000hsa.googlegroups.com>
hi all
I am trying to get a list of machines and send them commands to run ,
but I dont want them to bje done one after the other < i want them to
run them in parallel from a script >

What I am doing is

foreach i (`cat q`)
rsh $i -n <some command >
end

Now I want the job to be taken by the machine 1 and we should not wait
for the machine to finish and return for us to iterate
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.