110
What is PID 0? (blog.dave.tf)
all 18 comments
sorted by: hot top controversial new old
[-] admin@lemmy.my-box.dev 52 points 4 months ago

It's unused, you can go ahead and kill it.

[-] possiblylinux127@lemmy.zip 7 points 4 months ago* (last edited 4 months ago)

Kernel: dies

[-] jwt@programming.dev 31 points 4 months ago

ITT: people giving wrong answers to a post linked to a blog that answers the question 'What is PID 0?'

[-] admin@lemmy.my-box.dev 3 points 4 months ago* (last edited 4 months ago)

For me it just gives an error post0 failed to load.

Edit: that's probably my lemmy client trying to approach this blog as though it were a lemmy instance 🤦‍♂️

[-] NeoNachtwaechter@lemmy.world -5 points 4 months ago* (last edited 4 months ago)

Nonsense, yes. Isn't that what low effort posts (like nothing else but a link) are made for?

[-] CsXGF8uzUAOh6fqV@lemmy.world 13 points 4 months ago

You can call it low effort, but Lemmy is a "link aggregator". Even just sharing links has its value.

[-] boatswain@infosec.pub 22 points 4 months ago

The tl;dr from the article (which is actually worth a read):

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.

[-] Shanedino@lemmy.world 15 points 4 months ago

It's proportion integral derivative control of some functionality. Fans can use it.

[-] lurch@sh.itjust.works 8 points 4 months ago

only fans? 😆

[-] possiblylinux127@lemmy.zip 10 points 4 months ago* (last edited 4 months ago)

There is no PID 0. I guess I'll read the article.

Edit: This guy knows things

[-] spacetff@lemmy.ml 7 points 4 months ago* (last edited 4 months ago)

Mr. Anderson, Thank you for your analysis/work and well written treatise, on PID 0. I enjoyed learning more about Linux & Unix and a bit of history thereof as well.

[-] deadbeef79000@lemmy.nz 25 points 4 months ago

I read that in Agent Smith's voice.

[-] bruhduh@lemmy.world 1 points 4 months ago

Happy cake day

[-] deltapi@lemmy.world 3 points 4 months ago

The last time my community found a PID.0 in our midst, he was beaten downtown in broad daylight by over a dozen assailants, no witnesses.

[-] possiblylinux127@lemmy.zip 1 points 4 months ago

Plot twist: the assailants were holograms

this post was submitted on 17 Jun 2024
110 points (97.4% liked)

Linux

47996 readers
1050 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS