Why I can't trace linux process's childs with truss?

Kostik Belousov kostikbel at gmail.com
Sat Sep 11 10:32:49 UTC 2010


On Sat, Sep 11, 2010 at 02:11:17AM -0700, Yuri wrote:
> On 09/10/2010 16:55, Alexander Kabaev wrote:
> >You are. ptrace is supported by linuxulator for a while now. The
> >originator problem is likely because he is trying truss, which is not
> >Linux-aware. ktrace/linux_kdump combo should work.
> >   
> 
> I tried this: ktrace -d /usr/local/share/skype/skype
> Resulting trace again shows only the main process, not it's descendants, 
> despite -d flag.
> Same in the case of calling with pid: ktrace -d -p <pid>.

-d means "current descendants". On the other hand, -i is "inherit by
all future children".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100911/2ab69db2/attachment.pgp


More information about the freebsd-hackers mailing list