ktrace as a replacement for strace

Loren M. Lang lorenl at alzatex.com
Tue Feb 8 04:00:09 PST 2005


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 sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


More information about the freebsd-questions mailing list