Skip to content

Instantly share code, notes, and snippets.

@mos3abof
Created July 3, 2018 21:46
Show Gist options
  • Save mos3abof/0f1eb2a93f4ff1380178568a167812a9 to your computer and use it in GitHub Desktop.
Save mos3abof/0f1eb2a93f4ff1380178568a167812a9 to your computer and use it in GitHub Desktop.
PID 0, PID 1, and PID 2 in linux.
mosab@debian:~$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 22:53 ? 00:00:01 /sbin/init
root 2 0 0 22:53 ? 00:00:00 [kthreadd]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment