[Novalug] Linux boot, was Re: Kernel Compiles
Peter Larsen
plarsen at famlarsen.homelinux.com
Wed Apr 14 12:41:33 EDT 2010
On Wed, 2010-04-14 at 11:22 -0400, Ed James wrote:
> This is where I get confused, because on my system init has PID 1 (and PPID 0).
>
> Question (for nobody in particular): for a "ps -ef", why are some of
> the process
> names in square brackets, like: [kthread] and [khelper]? Seems like most (not
> all) were forked/spawned/execed/birthed by init.
Every process is actually owned by init - technically. ps just doesn't
show that. init is the grandfather of all processes on your machine.
Try "ps axf" you'll get the hierachi (except init) printed. You'll
notice that all [ ] "processes" are children of [khthread]. Kernel
Handler. These are jobs the kernel schedules to do device and other
type of backend management. The [ ] should indicate that they run in
core 0. If you look carefully you should recognize that most of the
"processes" there resemble the kernel module names of ditto.
--
Best Regards
Peter Larsen
Wise words of the day:
"Right now I'm having amnesia and deja vu at the same time."
-- Steven Wright
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://calypso.tux.org/pipermail/novalug/attachments/20100414/9e1bae96/attachment.bin
More information about the Novalug
mailing list