[SATLUG] find and kill parent process in a script

Don Wright satlug at sbcglobal.net
Sun Dec 26 11:33:25 CST 2010

Ah, the old halting-state conundrum. Scientists have debated that for
decades. If you don't trust your remote shell to die gracefully, there's
always STONITH. (And restarting virtual servers is cheap.)

But seriously, if you aren't deliberately creating tasks that survive
the termination of the SSH session, why do you think you have this

Don Davis wrote:
>I have a very simple script that connects to another server via ssh -X
>and executes a program.
>I would like to insure that all child processes begun by this are killed
>when the program exits.

Be well - or at least have interesting symptoms!

More information about the SATLUG mailing list