Sponsored Content
Full Discussion: zombie program
Top Forums UNIX for Dummies Questions & Answers zombie program Post 31336 by Perderabo on Wednesday 6th of November 2002 08:27:56 AM
Old 11-06-2002
A zombie is a program that has completely exited. It is waiting for it's parent process to issue a wait() system call. When you see a zombie in "ps", look at the ppid field. That is the pid of the parent. If you kill the parent, the zombies will become inherited by init which will notice and issue that wait() call. This makes the zombies go away. You really should track down the author of that parent process. This is a bug and it should be fixed. Programs that launch child processes need to be ready for the death of a child.

My knowledge of windows is very weak, but I think a "not responding" program is more like a unix program that is ignoring as many signals as possible. If you do a "kill $pid" on it, it won't go away. You need to do a "kill -9 $pid" on it to get rid of it.

A port cannot be a zombie, so I don't know what you have in mind there.
 

10 More Discussions You Might Find Interesting

1. Programming

Zombie Files on a HP-UX

How can you find a zombie file on the system. I have been in the database side of the system to search for Orphan files removed the orphan files, but still got the zombie file. When you run a top command it says there is a zombie process that is running i would like to find it. How can i do... (5 Replies)
Discussion started by: JackieRyan26
5 Replies

2. 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

3. Programming

zombie to exist after the termination of main program..

main() { pid_t child; child=fork(); if(child > 0) {sleep(60); } else {exit(0); } } the above code will create zombie process,which will be adopted by init as soon as parent process will dies.Can any one gimme a code or an alogrithm to keep this zombie proocess alive even after... (6 Replies)
Discussion started by: anilchowdhury
6 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. 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

6. 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

7. UNIX for Dummies Questions & Answers

what is zombie , how to kill it ,

Hello I try to googled it , but I dint get sufficient answer :( .. When I can see zombie running on server do they consume system resources or not ? I have read that is not good to kill them with signal 9 cause it might cause more troubles .. why is kill -9 so harmfull? thanks (2 Replies)
Discussion started by: kvok
2 Replies

8. 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

9. Red Hat

zombie

Hi, Linux redhat 5.5 top shows that i have 20 zombie process : Tasks: 357 total, 1 running, 336 sleeping, 0 stopped, 20 zombie Cpu(s): 0.2%us, 0.3%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 24949400k total, 2363052k used, 22586348k free, 227084k buffers... (1 Reply)
Discussion started by: yoavbe
1 Replies

10. Programming

Zombie in C

hello all, when we are creating a process by using fork, if the child process terminates before parent, the child process exists as zombie.. My doubt is when that child process terminates, how come that process exists further and show as a zombie process..can anyone help me to clear about this? (1 Reply)
Discussion started by: aarathy
1 Replies
PPMQVGA(1)						      General Commands Manual							PPMQVGA(1)

NAME
ppmqvga - 8 plane quantization SYNOPSIS
ppmqvga [ options ] [ input file ] DESCRIPTION
ppmqvga quantizes PPM files to 8 planes, with optional Floyd-Steinberg dithering. Input is a PPM file from the file named, or standard input of no file is provided. Options -d dither. Apply Floyd-Steinberg dithering to the data -q quiet. Produces no progress reporting, and no terminal output unless and error occurs. -v verbose. Produces additional output describing the number of colors found, and some information on the resulting mapping. May be repeated to generate loads of internal table output, but generally only useful once. EXAMPLES
ppmqvga -d my_image.ppm | ppmtogif >my_image.gif tgatoppm zombie.tga | ppmqvga | ppmtotif > zombie.tif SEE ALSO
ppmquant DIAGNOSTICS
Error messages if problems, various levels of optional progress reporting. LIMITATIONS
none known. AUTHOR
Original by Lyle Rains (lrains@netcom.com) as ppmq256 and ppmq256fs combined, documented, and enhanced by Bill Davidsen (david- sen@crd.ge.com) Copyright Copyright 1991,1992 by Bill Davidsen, all rights reserved. The program and documentation may be freely distributed by anyone in source or binary format. Please clearly note any changes. local PPMQVGA(1)
All times are GMT -4. The time now is 09:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy