Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 16:16:27 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        "Loren M. Lang" <lorenl@alzatex.com>
Cc:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: ktrace as a replacement for strace
Message-ID:  <20050208151627.GB76723@ei.bzerk.org>
In-Reply-To: <20050208115928.GE8619@alzatex.com>
References:  <20050208115928.GE8619@alzatex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 08, 2005 at 03:59:28AM -0800, Loren M. Lang typed:
> I'm looking for a replacement for the strace program I used to use on
> linux; freebsd has a port of strace, but it just hangs everytime I use
> it.  It looks like the bsd version of strace would be ktrace/kdump.  I
> was able to get these to print a trace of the program I ran, but it
> doesn't do all the nice substatuting that strace was able to do.
> Mainly, I just want the first argument of open to look like a string
> instead of a 32 bit pointer that I can't read.  I'm trying to figure out
> what files this program is trying to read so I can edit it's
> configuration file.

I think truss(8) will suit your needs better.

Ruben



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