[Techtalk] Re: [prog] check if script parent process is "init"

John Clarke johnc+linuxchix at kirriwa.net
Fri Apr 16 08:38:52 EST 2004


On Thu, Apr 15, 2004 at 12:58:27 +0200, Wolfgang Petzold wrote:

> have to admit, I was looking at the output of "ps -A" and it seemed that 
> system daemons like atd, crond and the like (which are all undoubtedly 
> started via the runlevel mechanism) had the immediate parent "init". 
> Perhaps this is because the rc script that really started the daemons 
> already finished?

That's right.  By the time you get a login prompt /etc/rc.d/rc is long
gone.


Cheers,

John
-- 
Don't mess with the Swedish, or they'll talk Swedish at you.
            -- Maarten Wiltink


More information about the Techtalk mailing list