[strace/strace] tracing all children of an already started program. (#193)
yamato at redhat.com
Mon Nov 29 22:10:12 UTC 2021
> I personally use this:
> strace -p "$(cat
> Works for both cgroup versions.
I wonder how useful if we have following option(s):
> On 11/24/21 09:34, Masatake YAMATO via Strace-devel wrote:
>> Yep.. I was just saying it would be a nice feature to have in the
>> same program without using external ones.
>> I agree with you if more than one program, pstree, pidof, grep and/or
>> sed are needed.
>> However, I think just one, pgrep (or pidof) is acceptable.
>> If strace introduces an option implementing the feature requested
>> here, the user must remember the option to enable the feature.
>> |[tab]| key with a modern shell may help us but remembering the command
>> |fragment, |-p "$(...)"| is not hard for me.
>> I was directly taught this fragment by @ldv-alt
>> <https://github.com/ldv-alt>, the maintainer of strace!
>> The lesson was not free. I had to submit a patch to procps-ng as fee.
>> You are receiving this because you are subscribed to this thread.
>> Reply to this email directly, view it on GitHub
>> or unsubscribe
>> Triage notifications on the go with GitHub Mobile for iOS
>> or Android
More information about the Strace-devel