[Novalug] disassociating an rsh from a process
Sean McGowan
scepticanagramwonk at verizon.net
Mon Apr 27 18:32:23 EDT 2009
All,
I have a problem (more cosmetic than anything else, as I don't like to
see them in the process list) with rsh hanging out when launching other
processes in the background. The process is a daemon, which does not
belong to my group, so I am unable to 'daemonize' it in the code. So
basically, the algorithm is this:
foreach node {
rsh node process &
}
The default shell on this system is tcsh, so I have also tried
rsh node process >& /dev/null &
and
rsh node 'process >& /dev/null &'
also I have tried both with the -n option as well.
Something I thought of on the way home,
echo 'process >& /dev/null &' | rsh node /usr/bin/tcsh
Might this work?
Thanks,
Sean
More information about the Novalug
mailing list