Truss & finding a working tracer

David S. Besade webmaster at machowto.com
Sun Oct 30 12:02:35 PST 2005


Hey guys

I am trying to trace an application for another list to get it working but I
am running into the following issues:

tried to build ltrace but found out its only for i386 machines, mine is
AMD64 Based (Nocona Cored Xeons) so it would build. I found out the same
with strace.

Now I have truss but alas its not working properly yet I keep getting errors
like this:

s3# truss /bin/echo hello
truss: cannot open /proc/39477/mem: No such file or directory
truss: cannot open /proc/curproc/mem: No such file or directory
s3# 

No matter what I do it gives the same 2 errors, well the 39477 changes but
everything else is the same.

Any Suggestions?

-Dave




More information about the freebsd-amd64 mailing list