Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cmeacham98
· 4y ago · 0 comments
init has a ppid of 0, which effectively is a special value that means the kernel. These processes probably also do the same thing (and thus, ppid=0 is a good way to detect kernel-started processes).
Comments
[–]
eMPee584
4y ago
The other kernel workers get spawned by `kthreadd`, which has PPID = 0, PID = 2 under systemd.
[–]
jstimpfle
4y ago
I think they could be spawned with ppid 1 as well.