Re:Dtrace for Linux
by loeg on Thursday February 15, 2018 @01:32PM
(#16386336)
Process descriptors are unfortunately a little incomplete -- pdwait() was never implemented. They don't seem to be getting much use.
[ Parent
| on HN ]
You don't need pdwait(). You can watch the process descriptor with kqueue to get the process exit status look for EVFILT_PROCDESC in https://www.freebsd.org/cgi/man.cgi?kevent.