Rework jstat PMDA popen/pclose code slightly, adding in explicit
waitpid(2) calls to gather up exit'd children missed by pclose.
These are done at the end of the popen(3) loop and in the SIGCHLD
signal handler - both are needed to prevent a zombie child leak.
Rework jstat PMDA popen/pclose code slightly, adding in explicit
waitpid(2) calls to gather up exit'd children missed by pclose.
These are done at the end of the popen(3) loop and in the SIGCHLD
signal handler - both are needed to prevent a zombie child leak.