Sponsored Content
Full Discussion: zombie process
Operating Systems Solaris zombie process Post 302333412 by vikas027 on Monday 13th of July 2009 03:32:32 AM
Old 07-13-2009
MySQL

Quote:
Originally Posted by sijocg
dear friends,

in an interview they asked me what is zombie process. how we can identifying these process.if can you kill all zombie process.
Code:
ps -elf | grep -w Z

Regards
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Zombie process

How do i kill a zombie process. Is it that only root can kill a zombie process. (8 Replies)
Discussion started by: orca
8 Replies

2. UNIX for Advanced & Expert Users

Zombie process

I would like to create a zombie process so that I can test monitoring software functionality. Any techniques? (2 Replies)
Discussion started by: swhitney
2 Replies

3. Programming

how to handle a zombie process

hi! i am writing a c program which has the following structure: main() { child1 child1.1 child2 child2.1 } the child1.1 and 2.1 are becoming zombies... how can i handle this... thanx (1 Reply)
Discussion started by: mridula
1 Replies

4. Linux

zombie process

Hi What is the command to find only the zombie processes?? How to write the code in C to fetch the no. of zombie processes?? Thanx (5 Replies)
Discussion started by: jeenat
5 Replies

5. Linux

How to kill zombie process

I have RHES4 machine with VRTSralus - Backup Exec agent installed there and running as a service. The agent hiccups sometimes and turns into defunct state. The problem is that I cannot kill it anyway., it stays there forever until the machine is rebooted. I wonder if anyone had such an experience... (1 Reply)
Discussion started by: will_mike
1 Replies

6. Shell Programming and Scripting

Zombie process

Hi I need help because I don't know if it is possible to add a find inside a cat. like I have a file with the pid of the process that use to became zombie. And I have the same pid stored in the var (pid1) now, I have no clue how to check if the the find finds the pid or even if it's... (2 Replies)
Discussion started by: ruben.rodrigues
2 Replies

7. AIX

zombie process

Is there an equivilant to the preap command in AIX that would allow me to get rid of a zombie process. I am new to AIX, moving over from Solaris and in the past I have been able to preap the pid on the defunct process to clean them up. I have looked around and the best I can see is that it may... (3 Replies)
Discussion started by: sboots
3 Replies

8. Solaris

How to Kill Zombie Process

Dear Bos, I have one server,everday if I check with command TOP always present zombie,like below: last pid: 4578; load averages: 0.15, 0.11, 0.13 07:56:15 298 processes: 295 sleeping, 1... (10 Replies)
Discussion started by: fredginting
10 Replies

9. UNIX for Dummies Questions & Answers

Zombie process question

Hey guys, So i did some research on the site but previous posts answered most of my questions about zombie processes but I have one question that didnt seem to get addressed "how do you find the parent or parent ID of a zombie process so you can kill it?" I know p -kill doesnt always just... (6 Replies)
Discussion started by: kingpin007
6 Replies

10. UNIX for Advanced & Expert Users

Zombie process

What is the overhead associated with zombie process?Is it running out of process-ID?:confused: Since some information is stored in process table.. Thanks in Advance (4 Replies)
Discussion started by: jois
4 Replies
exit(2) 							System Calls Manual							   exit(2)

Name
       _exit - terminate a process

Syntax
       #include <stdlib.h>
       void _exit(status)
       int status;

Description
       The function, terminates a calling process with the following consequences:

       o    All of the file descriptors open in the calling process are closed.

       o    If	the  parent  process  of  the calling process is executing a it is notified of the calling process's termination and the low-order
	    eight bits of status are made available to it.  For further information, see

       o    The parent process ID of all of the calling process's existing child processes and zombie processes are also set  to  1.   This  means
	    that the initialization process inherits each of these processes as well.  For further information, see

       o    Each  attached  shared memory segment is detached and the value of shm_nattach in the data structure associated with its shared memory
	    identifier is decremented by 1.

       o    For each semaphore for which the calling process has set a semadj value, (see ) that semadj value is added to the semval of the speci-
	    fied semaphore.

       o    If the process has a process, text, or data lock, an unlock is performed.

       o    An accounting record is written on the accounting file if the system's accounting routine is enabled. For more information, see

       Calling	directly  circumvents  all  cleanup.   Most C programs call the library routine which performs cleanup actions in the standard I/O
       library before calling

Environment
   POSIX, System V
       The function differs from the System V as well as POSIX definition in that even if the calling process  is  a  process  group  leader,  the
       SIGHUP signal is not sent to each process that has a process group ID equal to that of the calling process.

       The function also differs in that the routine is declared as type int instead of type void.

See Also
       fork(2), wait(2), exit(3), signal(3).

																	   exit(2)
All times are GMT -4. The time now is 03:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy