Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 14:11:01 -0600
From:      "David S. Besade" <webmaster@machowto.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Truss & finding a working tracer
Message-ID:  <BF8A84F5.2459%webmaster@machowto.com>
In-Reply-To: <20051030210542.GB25121@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
I had some help in getting truss to work. Thanks for all the help guys.

-Dave


> From: Roland Smith <rsmith@xs4all.nl>
> Date: Sun, 30 Oct 2005 22:05:42 +0100
> To: "David S. Besade" <webmaster@machowto.com>
> Cc: <freebsd-amd64@freebsd.org>
> Subject: Re: Truss & finding a working tracer
> 
> On Sun, Oct 30, 2005 at 01:01:50PM -0600, David S. Besade wrote:
>> 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.
> 
> Have you tried ktrace? It's part of the base system. I've found it very
> usefull.
> 
>> 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# 
> 
> Is the /proc filesystem mounted?
> 
> Roland
> -- 
> R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
> public key: http://www.xs4all.nl/~rsmith/pubkey.txt





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF8A84F5.2459%webmaster>