Question: Fork() Function (Ubuntu environment using C/C++) a) Create a child process that copy the parent address space and then make the child as a zombie
Fork() Function (Ubuntu environment using C/C++)
a) Create a child process that copy the parent address space and then make the child as a zombie process. Use ps utility to demonstrate that the zombie has been created. (Please note that the zombie process is usually depicted as
b) Use the procedure followed in part (a) to make the child process as orphan. You are required to show that the orphan process has been handed over to the init process whose pid is 1or the child parent has changed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
