Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How does the system know where one command ends and another begins?

2312


How do I delete files from command prompt?

1281


What does touch command do in unix?

1476


Which command can you use to find the currently running process in unix server?

1163


What is in grep command?

1212


Differentiate cmp command from diff command.

1237


How many unix commands are there?

1205


Which command should you use to find the remaining disk space in unix server?

1347


What is s and g in sed command?

1163


How to find $ai_serual resolved path by using unix

1839


What is a bash command?

1237


Which command is used to delete all files in the current directory and all its sub-directories?

1317


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:

2317


What are reported commands?

1192


Enlist some filename manipulation commands in unix.

1219