gpt4 book ai didi

unix - 为什么守护进程被称为守护进程?

转载 作者:行者123 更新时间:2023-12-04 03:15:01 25 4
gpt4 key购买 nike

想知道叫daemon程序或线程“daemon”的历史原因是什么,让我痒了很久

Lat: daemon, latin version of the Greek "δαίμων" ("godlike power, fate, god")

  • god,
  • a subordinate deity, as the genius of a place or a person's attendant spirit

有许多问题澄清了 daemons arehow they behave ,但没有人解释在后台运行的程序(如 sshd)的术语“守护进程”的起源。 .
为什么我们将后台运行的程序命名为守护进程?

最佳答案

wiki

According to Fernando J. Corbato who worked on Project MAC in 1963 his team is the first to use the term daemon. The use of the term daemon was inspired by Maxwell's daemon, in physics and thermodynamics as an imaginary agent which helped to sort molecules.

"We fancifully began to use the word daemon to describe background processes which worked tirelessly to perform system chores."

In the Unix System Administration Handbook, Evi Nemeth states the following about daemons:

"Many people equate the word "daemon" with the word "demon", implying some kind of satanic connection between UNIX and the underworld. This is an egregious misunderstanding. "Daemon" is actually a much older form of "demon"; daemons have no particular bias towards good or evil, but rather serve to help define a person's character or personality. The ancient Greeks' concept of a "personal daemon" was similar to the modern concept of a "guardian angel"—eudaemonia is the state of being helped or protected by a kindly spirit. As a rule, UNIX systems seem to be infested with both daemons and demons."

关于unix - 为什么守护进程被称为守护进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33690277/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com