OSNews on Nostr: What is PID 0? The very short version: Unix PIDs do start at 0! PID 0 just isn’t ...
What is PID 0?
The very short version: Unix PIDs do start at 0! PID 0 just isn’t shown to userspace through traditional APIs. PID 0 starts the kernel, then retires to a quiet life of helping a bit with process scheduling and power management. Also the entire web is mostly wrong about PID 0, because of one sentence on Wikipedia from 16 years ago.
There’s a slightly longer short version right at the end, or you can stick wi
https://www.osnews.com/story/139915/what-is-pid-0/#Unix
Published at
2024-06-09 22:44:35Event JSON
{
"id": "bb34dbcb9434f1de25c435654ae21f1cb47b4f084844747f9ff7a5a9a2e0efaf",
"pubkey": "da48c5d0523a83ddf35f5fd7b4916857ccac6c1b16853fa301641ed117991b11",
"created_at": 1717973075,
"kind": 1,
"tags": [
[
"proxy",
"https://mstdn.social/@osnews/112589083462129280",
"web"
],
[
"t",
"Unix"
],
[
"proxy",
"https://mstdn.social/users/osnews/statuses/112589083462129280",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mstdn.social/users/osnews/statuses/112589083462129280",
"pink.momostr"
]
],
"content": "What is PID 0?\n\nThe very short version: Unix PIDs do start at 0! PID 0 just isn’t shown to userspace through traditional APIs. PID 0 starts the kernel, then retires to a quiet life of helping a bit with process scheduling and power management. Also the entire web is mostly wrong about PID 0, because of one sentence on Wikipedia from 16 years ago.\n\nThere’s a slightly longer short version right at the end, or you can stick wi\n\nhttps://www.osnews.com/story/139915/what-is-pid-0/\n\n#Unix",
"sig": "03006fb0698375b098c4866135c681729632ca7accf99379d89337aa644a26df50b7fb2a30ee6698b0a536db8eac5f5016de63680a745572bdadf903544a0d3e"
}