I was reading the linux journal at there was an interesting way of how to
see process's psdoom "process the doom way" to kill a process simply shoot
it :) they will regenerate if you dont have permisson to kill.
personally i havent tried it but it seems cool
|Ben
Carl Cerecke said:
> Matthew Gregan wrote:
>> On Thu, Jan 16, 2003 at 02:10:48PM +1300, Carl Cerecke wrote:
>>
>>
>>> while (zombies && !child) {
>>
>>
>> fork() returns the PID of the new process in the parent, and returns 0
>> in the newly forked child. So the test in this while is wrong, it's
>> causing the subsequent fork()s to be called in the child.
>
> Doh! Should've seen that a mile away.
>
> Thanks,
> Carl.
/----------------------------------\
| Ben Devine |
| 'Muhaha, Muhahaha, Muhahahahahah'|
| devine.orcon.net.nz |
| [EMAIL PROTECTED] |
\----------------------------------/