Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Linux. World war z Think of how a zombie process FX a computer. How is this diff

ID: 3814081 • Letter: L

Question

Linux. World war z Think of how a zombie process FX a computer. How is this different from orphaned process? What examples would you use? And addition what area would you have the most difficult? Linux. World war z Think of how a zombie process FX a computer. How is this different from orphaned process? What examples would you use? And addition what area would you have the most difficult? Think of how a zombie process FX a computer. How is this different from orphaned process? What examples would you use? And addition what area would you have the most difficult?

Explanation / Answer

let see small examp[le :

main() { if(fork()==0 ){ } else { } }

here fork()fun. use to create duplicate process . fork fun. on success it returns 0

this process is called "child process other hand process is called "parent" process(returns >0)

so by using fork() ,we can create new process,

now "orphan process":

name it self gives meaning of it i.e if the process of child is terminated before parent process

"zombie process":convers of orphan process i.e parent process is terminated before child process is called "zombie process".

to avoid this wait() fun. and waitpid() fun. one more is there i.e sigaction all r d to avoid thiss orphan and zombie process.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote