Every process in Linux has an ID, so-called PID. The process that makes the fork() call becomes a parent of the newly created process. This procedure is respected for all the processes in the system, starting from the very first one. The main process has to maintain a fixed-size pool of sub-processes.
Table of contents
Linux processes basicsAwaiting a child process terminationAwaiting a grandchild process terminationCatching the parent process terminationInstead of conclusionSort: