Sunday, February 27, 2022

[SOLVED] Why can't I see process with PID 0 using ps?

Issue

I know process 0 is the swapper process in UNIX responsible for process scheduling but why can't I see it using ps -ef? How can I see it?


Solution

You cannot see pid 0 because pid 0 does not exist on the system you are using.



Answered By - Perry
Answer Checked By - David Marino (WPSolving Volunteer)