Process Model and IPC Interview questions

Total available count: 17
Subject - Operating System
Subsubject - Process Model and IPC

What is a Daemon?

A daemon is a process that detaches itself from the terminal and runs, disconnected, in the background, waiting for requests and responding to them. It can also be defined as the background process that does not belong to a terminal session. Many system functions are commonly performed by daemons, including the Sendmail daemon, which handles mail, and the NNTP daemon, which handles USENET news. Many other daemons may exist. Some of the most common daemons are:

  1. init: Takes over the basic running of the system when the kernel has finished the boot process
  2. inetd: Responsible for starting network services that do not have their own stand-alone daemons. For example, inetd usually takes care of incoming rlogin, telnet, and ftp connections
  3. cron: Responsible for running repetitive tasks on a regular schedule

Next 5 interview question(s)

What happens when you execute a command?
What happens when you execute a program?
What are the process states in Unix?
What is a zombie?
How can a parent and child process communicate?