tips, combining strace with pidof
yamato at redhat.com
Fri Mar 2 11:57:35 UTC 2018
I guess you, enjyoing hacking strace, may use strace with pidof like:
# strace -p $(pidof httpd)
As you may know, this doesn't work if there is more that one http process.
I have been frustrated with this for years.
Though who are the same, let's wait the new release of procps.
I added an option to specify the separator. You can run strace like:
# strace -p $(pidof -S ' -p ' httpd)
More information about the Strace-devel