How to know a process is a zombie or orphan process?

Answer Posted / nishanta

The Correct Answer is :

ps -ef | grep Z

Where Z will Catch Up all the Zombie Processes & We can kill those to Free the Processor Load.

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does grep v do?

750


What does pipe () return?

771


What is the pipe command?

800


What is a command and examples?

786


What is unix command line?

797






When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1949


What are grep patterns?

760


What will the following command do?

793


What happens when we execute a unix command?

785


What is .sh file?

826


What difference between cmp and diff commands?

936


What does the md command do?

760


Enlist some filename manipulation commands in unix.

738


What does the metacharacter mean?

793


How do I run a whois command?

809