How to trace just child process only

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


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 ?. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Strace-devel mailing list