How to trace just child process only

Shameem Ahamed shameem.ahamed at yahoo.com
Thu Nov 26 13:22:13 UTC 2009


Hi,

I am using strace to trace a currently running process (Apache). My problem is, when i trace main Apache process, it starts tracing childrens of children. 

Eg:  If main apache created a child process 1000, and 1000 creates a cgi process 1010, strace shows the details of 1010 also.  I just want to trace only the direct childrens not the child of child.

Can anyone please help me ?. 

Regards,
Shameem 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20091126/c46311d9/attachment.html>


More information about the Strace-devel mailing list