1.

The parent id of a child is called ______(a) PID(b) PPID(c) TID(d) PTIDThis question was posed to me during an online exam.The origin of the question is Process Basics in chapter The Process of Unix

Answer»

The correct option is (b) PPID

To explain I would say: The PARENT ID of a CHILD PROCESS is calledPPID (parent process ID) and is available as a process attribute. It is COMMON that several processes have the same parent. When several processes have the same parent, it often makes sense to kill the parent process RATHER than killing each child separately.



Discussion

No Comment Found

Related InterviewSolutions