Tuesday, September 25, 2012

Technical difference between daemon, service and process

Technical difference between daemon, service and process

Daemons :-  They are the processes which run in the background and are not interactive. They have no controlling terminal. 
                 They perform certain actions at predefined times or in response to certain events. In *nix, the names of daemons end in d.
 
Services - In Windows, daemons are called services.
                   If you're wondering why *nix has a command named service, it is just used to run init scripts (shorthand for initialization scriptrunlevel).

Process - Process is a running program. At a particular instant of time, it can be either running, sleeping, or zombie (completed process, but waiting for it's parent process to pick up the return value).

 

No comments:

Post a Comment