Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 22:05:42 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        "David S. Besade" <webmaster@machowto.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Truss & finding a working tracer
Message-ID:  <20051030210542.GB25121@slackbox.xs4all.nl>
In-Reply-To: <BF8A74BE.244D%webmaster@machowto.com>
References:  <BF8A74BE.244D%webmaster@machowto.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--KFztAG8eRSV9hGtP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 30, 2005 at 01:01:50PM -0600, David S. Besade wrote:
> Hey guys
>=20
> I am trying to trace an application for another list to get it working bu=
t I
> am running into the following issues:
>=20
> 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 err=
ors
> like this:
>=20
> 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#=20

Is the /proc filesystem mounted?

Roland
--=20
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

--KFztAG8eRSV9hGtP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDZTWmEnfvsMMhpyURAhKpAJ9vx0emJ188OftLgmY9wexiW+V3WQCgmhEt
CzWmzSjm4ZR8yphOFFcyYI4=
=WBgX
-----END PGP SIGNATURE-----

--KFztAG8eRSV9hGtP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051030210542.GB25121>