*BSD News Article 51597


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoregon.edu!usenet.eel.ufl.edu!news.mathworks.com!newsxfer.itd.umich.edu!agate!reason.cdrom.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: strace of trace for FreeBSD?
Date: 17 Sep 1995 04:19:56 GMT
Organization: Walnut Creek CDROM
Lines: 14
Message-ID: <43g7lc$2tl@reason.cdrom.com>
References: <43fmtp$99v@fu-berlin.de>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; FreeBSD 2.1-STABLE i386)
To: tschach@zedat.fu-berlin.de
X-URL: news:43fmtp$99v@fu-berlin.de

tschach@zedat.fu-berlin.de (Carsten Tschach) wrote:
>I really need a utility like strace (or trace) can be found on SunOS
>or Linux.

It's called `ktrace' and you need `options KTRACE' in your kernel, then you
can trace a process by saying:

% ktrace command
<finish>

% kdump		# shows you a human-readable dump of ktrace.out
-- 
						Jordan