Differences between version 5 and revision by previous author of ZombieProcess.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Monday, November 24, 2003 11:27:35 am | by AlastairPorter | Revert |
Older page: | version 4 | Last edited on Tuesday, November 18, 2003 4:13:24 pm | by JohnMcPherson | Revert |
@@ -5,4 +5,6 @@
Two ways to avoid creating Zombies (other than calling one of the wait() functions) include:
# handling the [SIGCHLD] signal (see that page for example code)
# fork(2) and then get the child to fork(2) again and then exit immediately, so that you've created a grandchild rather than a child.
+
+Zombie processes will show 'Z' in the __STAT__ column of ps -aux