How to know a process is a zombie or orphan process?
Answers were Sorted based on User's Feedback
Answer / lohith
type ps -a if you find any status as defunct then the
process is zombie
| Is This Answer Correct ? | 22 Yes | 5 No |
Answer / 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 |
Answer / abha
If process is not in function . type ps-a if not reffreing
then orphan
| Is This Answer Correct ? | 5 Yes | 8 No |
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
How does the system know where one command ends and another begins?
How can we "forked" process in UNIX? How then recognize in any of the branches we?
What is the difference between grep and grep?
distinguish between user mode and kernel mode?
What happens when we execute a unix command?
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<stdlib.h> # include <stdio.h> 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:
in UNIX,what is the command to remove directory with files?
what is the difference between KILL and KILL -9?
5 Answers Informatica, Nutanix,
What is awk good for?
Write a command to find all of the files which have been accessed within the last 30 days.
5 Answers Google, IBM, Satyam,
What is the unix command to confirm a remote host is alive or not?