Daemon Processes Explored 6
mukul inputs: "I've written a comprehensive article about daemon processes on UNIX systems, and how to program them efficiently so that zombie processes are avoided, and how to maintain the code adhering to the POSIX standard." You may have to grab a copy of the article source because the submittor forgot to replace his angled brackets with "<" / ">" pairs, so things like include statements and other bits of text will get mangled by your browser. Still, it looks to be a decent writeup. What aspects of daemon programming (if any) is it missing that other readers might do well to know?
testing (Score:1)
no mention of init based deamons? (Score:1)
Good deamon code should check to see if its ppid==1 and not fork in that case.
You could read this article or you could... (Score:2)
Colours (Score:1)
Great! (Score:1)
Re:You could read this article or you could... (Score:1)
--
Darthtuttle
Thought Architect