-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Line 65 in 24f20f0
| 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 .
Metadata
Metadata
Assignees
Labels
No labels