You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
children of the application process can be monitored for exit.
I've been looking into this, and I think there's a work-around mentioned here: https://stackoverflow.com/a/22893464/1460868 : using ptrace(2). There are limits to that too (only 1 other process can wait) but on my ageing Ubuntu 14.04 system I didn't have to tweak a file under /proc/sys/kernel in order to make it possible to do strace -qqe '' -p PID>.
You'd probably want to limit this only to non-child process (by querying /proc/PID/tasks/PID/children?) and get the relevant, stripped-down code from https://github.com/strace/strace .
The text was updated successfully, but these errors were encountered:
libkqueue/BUGS.md
Line 65 in 24f20f0
I've been looking into this, and I think there's a work-around mentioned here: https://stackoverflow.com/a/22893464/1460868 : using
ptrace(2)
. There are limits to that too (only 1 other process can wait) but on my ageing Ubuntu 14.04 system I didn't have to tweak a file under/proc/sys/kernel
in order to make it possible to dostrace -qqe '' -p PID>
.You'd probably want to limit this only to non-child process (by querying
/proc/PID/tasks/PID/children
?) and get the relevant, stripped-down code from https://github.com/strace/strace .The text was updated successfully, but these errors were encountered: