[strace/strace] tracing all children of an already started program. (#193)

tryauuum notifications at github.com
Wed Nov 10 18:39:15 UTC 2021

for anyone reading this: even though `pgrep` doesn't support getting a list of all process's descendants, maybe for your use case matching by process group id will be perfect.
strace -f $( pgrep -g PID_OF_ANCESTOR | sed 's!^!-p !' )

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20211110/9c116c67/attachment.htm>

More information about the Strace-devel mailing list