How Do I Run a Daemon Process in Linux?
Contents

What is a daemon process in Linux?

A daemon is a long-running background process that answers requests for services. The term originated with Unix, but most operating systems use daemons in some form or another. In Unix, the names of daemons conventionally end in “d”. Some examples include inetd , httpd , nfsd , sshd , named , and lpd .

Where is daemon process in Linux?

The parent of a daemon is always Init, so check for ppid 1. The daemon is normally not associated with any terminal, hence we have ‘? ‘ under tty. The process-id and process-group-id of a daemon are normally same The session-id of a daemon is same as it process id.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest