Daemon什么意思

守护者进程(Daemon)

 
在Unix或者其他多任务操作系统中,守护进程是指在后台运行的,不需要人工干预的进程。在freebsd的官方网站中,有一篇文章专门描述Daemon进程以及Daemon名称的由来。http://www.freebsd.org/copyright/daemon.html
 
如果我们通过金山词霸或者bing词典翻译daemon,你会发现daemon = demon, demon有不好的含义,比如魔鬼。我们就要问为什么Unix的创造者们要用这样一个名字呢?
 
其实在Unix System Administration Handbook中, Evi Nemeth就专门对这个词进行了解释。
 
"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." (p403)
 
我初略做翻译如下:
很多人把daemon等同于demon, 就好像UNIX和撒旦统治的地狱有某种关联似的。这绝对是个误解。Daemon这个词是中性词,就像个性或人格。在古代的希腊语中,"personal daemon"有现代的“守护天使”的含义--'eudaemonia' 是指被好灵魂帮助或保护的某种情形。
 
另外守护进程名称的最后一个字符往往都是d, 比如syslogd或者sshd,initd等等,就连httpd都是守护进程。

原文地址:https://www.cnblogs.com/cando/p/2617335.html