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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.