[Sunhelp] kill script

Wally oobimaki at hcl.com
Tue Aug 15 10:21:25 CDT 2000


How about trying this:


      In the XSTART command line, place the word "nohup" in lowercase
without the quotes in front of the command line, for example:

      commandline: nohup xterm -display @d &

      The nohup command instructs the shell to NOT drop any applications
that are run from itself. The problem with some of these hosts is that once
a command line is issued through the shell (start method being rexec,
telnet, etc.) and the application is run, the shell itself leaves a process
to close the application that was run from itself if the shell is shutdown.

      Simple thinking: Because the shell is closed, the application should
close as well.

      the "nohup" option leaves no sockets open on the host once the
application is closed and there is no need to use the (-1) timeout feature
to resolve the problem of the x application closing as soon as it is opened.





Regards,
Wally Obimakinde.
Hummingbird Communications LTD.
TEL:1-416-496-2200X2316
E-mail:oobimaki at hcl.com
URL:http://www.hummingbird.com

----- Original Message -----
From: "Ben Dougherty" <benjamind at miles33.co.uk>
To: "sunhelp" <sunhelp at sunhelp.org>
Sent: Tuesday, August 15, 2000 5:13 AM
Subject: [Sunhelp] kill script


> Hi all,
>
> Does anyone have a kill script which will kill all the processes for a
user? One
> of our customers is running Exceed
> and every time it crashes it leaves residual processes running on the
server. I
> need something which will clean all
> the processes out or that can be ran when he starts a new session which
will
> kill the old processes.
>
> Thanks for any help
> Ben
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>






More information about the SunHELP mailing list