Re: [SLUG] *really* killing a process

From: Eben King (eben1@tampabay.rr.com)
Date: Sun Mar 14 2004 - 12:38:47 EST


On Sun, 14 Mar 2004, Eric Jahn wrote:

> On Thursday 11 March 2004 1:06 pm, you wrote:
> > > If you did a 'ps -ef', it would show that bash was started by an xterm,
> > > which in turn was started by the window manager:
>
> ...but for zombified processes, they are now owned by process "1" (init), and
> I can't kill that parent. Here's my ps -f output
>
> ericlinuxbox1:~ # ps -f 2230
> UID PID PPID C STIME TTY STAT TIME CMD
> root 2230 1 0 10:53 tty5 S 0:00 /sbin/mingetty tty5
>
> Sow do you kill this process (PID 2230)? It keep coming back after
> restarting the computer also, which means the daemon is restarting
> it???, but why not show the daemon is the parent? Confused...

Init might really be the parent of that one, or that process could have
been inherited after it did something like "mingetty tty5 &" and exited.

Anyhow, you might be able to control whether the mingetty starts in
/etc/inittab, or you can tell X to use a different tty (up to 12); in
/etc/X11/xdm/Xservers, change the line that starts ":0" to have your
desired tty as an option to X (drop the "/dev/"). My X is on tty7.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

An idea that is not dangerous is unworthy of being called an idea at all. -Oscar Wilde

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:16:07 EDT