I'm looking for the process started in Linux which has process ID 0. I know init
has PID 1 , which is the first process in Linux, is there any process with PID 0?
Process Management – Which Process Has PID 0?
process
process
I'm looking for the process started in Linux which has process ID 0. I know init
has PID 1 , which is the first process in Linux, is there any process with PID 0?
Best Answer
From the wikipedia page titled: Process identifier:
You can see the evidence of this if you look at the parent PIDs (PPID) of
init
andkthreadd
:kthreadd
is the kernel thread daemon. All kthreads are forked from this thread. You can see evidence of this if you look at other processes usingps
and seeing who their PPID is:Notice they're all
2
.