Re: rsh shutdown clients leaves a defunct process

From: Bob Booth - UIUC (booth@UIUC.EDU)
Date: Wed Nov 27 2002 - 15:10:25 EST


Try this:

/bin/rsh client 'shutdown -F < /dev/null > /dev/null 2>&1'

bob

On Wed, Nov 27, 2002 at 12:03:01PM -0800, Michelle DeVault wrote:
> Occasionally I will need to shut down some or all of
> the client workstations on our network. Usually I run
> a simple script from the server that checks to see if
> the box is up, and if so issues a
>
> rsh <client> shutdown -F & > /dev/null
>
> The clients shut down ok, but the server will have
> have the "rsh <client> shutdown -F" plus a defunct
> process left hanging for each one. I have to come in
> the next day and manually kill all these.
>
> Is it the "&" that is doing this?
>
> M.
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:23 EDT