DELAPARRA
Index
Color
NL
Category: Core glossary

Daemon

Explained by Updated

What is Daemon?

Daemon: A background process that runs continuously without direct user interaction. Pronounced /ˈdiːmən/ ("DEE-mon"). Common in Linux systems (e.g. sshd, nginx). A daemon is a program that runs in the background, without a user interacting with it directly. Web servers, database servers, SSH servers and schedulers are all daemons. On Linux their names often end in d, as in sshd or mysqld.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Daemon

How is Daemon used in practice?

They start when the system boots, usually managed by systemd, and keep running until stopped. systemctl status nginx shows whether one is running, and journalctl -u nginx shows its logs.

What should you keep in mind with Daemon?

In containers, the idea changes a little. A container normally runs one main process in the foreground, and the container platform handles starting and restarting it. Running a daemon that detaches into the background inside a container makes the container think its work is done, and it stops. The word is pronounced "DEE-mon".

At a glance

CategoryCore glossary
Explained by
Updated

More Core glossary terms

All terms starting with D

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.