PID of the kernel process is
PID of the kernel process is 0.
There are two tasks with especially distinguished process IDs: swapper or sched has process ID 0 and is responsible for paging, and is actually part of the kernel rather than a normal user-mode process. Process ID 1 is usually the init process primarily responsible for starting and shutting down the system.
The process identifier (PID) is a number used by most operating system kernels such as those of UNIX, mac OS and Microsoft windows to uniquely identify an active process.
Process 0is a special process that is created when the system boots; after forking a child process (process 1), process 0 becomes the swapper process.