For a process supervisor using the reaper API to track process subtrees,
it is very useful to know which processes on the list are zombies.
Sponsored by: https://www.patreon.com/valpackett
Differential D39585
procctl: add state flags to PROC_REAP_GETPIDS reports val_packett.cool on Apr 15 2023, 6:03 PM. Authored by Tags None Referenced Files
Subscribers
Details
For a process supervisor using the reaper API to track process subtrees, Sponsored by: https://www.patreon.com/valpackett
Diff Detail
Event TimelineComment Actions I do not object. IMO it would make sense to also report stopped and exiting processes too? Comment Actions Yeah, agreed. BTW, is the only difference between P_WEXIT and zombie state is that P_WEXIT gets set earlier in the process? Comment Actions P_WEXIT processes are not zombies (sometimes).
Comment Actions Please mail me git-formatted patch with all metadata. Also please bump the man page date. |