Re: about killing a process



notbob <notbob@xxxxxxxxxxx> wrote in
news:p_ednaDpo6JJdC_ZnZ2dnUVZ_q2dnZ2d@xxxxxxxxxxx:

On 2006-07-10, chuckcar <chuck@xxxxxxx> wrote:

You can kill a zombie task by killing it's parent (man that *still*
sounds wierd to me ;-)

Find its parent and PID with:

pstree -p

nb


Or add the fields to top - more visual that way, not that that is the
"best way *nix is used...

--
(setq (chuck nil) car(chuck) )
.



Relevant Pages

  • RE: Options to stop processes that cant be killed -9 other than reboot
    ... Yeah, but too often, the parent process has gone, and the zombie's now ... If a process will not exit after a "kill -9 PID" has been done, ... When the kernel schedules the ... example that use to happen quite often when 9trk tape drives were used. ...
    (RedHat)
  • Re: Killing a process that takes too long
    ... You may instead use fork and exec; this lets you use the process-ID to ... kill 'INT', $pid; ... and it does not guarantee that the child ... So we need a way to kill several processes of the process group of the parent, ...
    (perl.beginners)
  • Non-random PIDs
    ... new process ID's, in the way that OpenBSD does. ... I'm the child and my pid is 21116. ... I'm the parent and my pid is 21115. ...
    (RedHat)
  • Re: optimize log parsing
    ... >> Hey Xho, I tried this: ... >> for the constructor is 0 then, assuming you're in the child process, ... >> called after the successful startup of a child in the parent process. ... >> - pid of the process which has been started ...
    (comp.lang.perl.misc)
  • Re: [PATCH 2.6.11-rc3-mm2] connector: Add a fork connector
    ... connector in the kernel/fork.c:do_forkroutine. ... information about parent PID and child PID over a netlink interface. ...
    (Linux-Kernel)