preap for Linux?
Yong Huang <[email protected]> Fri, 28 Aug 2015 13:11:10 -0700
| Newsgroups | gmane.linux.redhat.general |
|---|---|
| Message-ID | <[email protected]> |
A zombie or defunct process cannot be killed. Although this "process" does not use any resource other than a process slot, there're times it's better to clean it up. Solaris provides a preap tool that does that. Does anyone know if somebody or some company is working on an equivalent for Linux? The design of Solaris preap (code at https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/ptools/preap/preap.c) seems to be modifying the process table in order to force the parent to wait() for the child. It's a clever trick. If Linux can't do it, is there any reason for that? -- redhat-list mailing list unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list