*BSD News Article 84011


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sgi.com!howland.erols.net!feed1.news.erols.com!phase2.worldnet.att.net!uunet!in3.uu.net!192.109.159.3!news.gtn.com!news.netuse.de!123.org!not-for-mail
From: k@123.org (Kai Voigt)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: strace or truss for FreeBSD
Date: 1 Dec 1996 19:54:59 +0100
Organization: 123.org - Die kleinste Domain der Welt
Lines: 28
Sender: k@abc.123.org
Message-ID: <57ska3$obg@abc.123.org>
References: <32A13666.41C67EA6@bis.co.il>
NNTP-Posting-Host: abc.123.org
X-Newsreader: NN version 6.5.0 #2 (NOV)

Meir Dukhan <mdukhan@bis.co.il> writes:

>I'm looking for strace or truss for FreeBSD. 
>Someone knows where can I find them ?

A "man -k trace" would have told you to read ktrace(1):

NAME
     ktrace - enable kernel process tracing

SYNOPSIS
     ktrace [-aCcdi] [-f trfile] [-g pgrp] [-p pid] [-t trstr]
     ktrace [-adi] [-f trfile] [-t trstr] command

DESCRIPTION
     Ktrace enables kernel trace logging for the specified processes.  Kernel
     trace data is logged to the file ktrace.out. The kernel operations that
     are traced include system calls, namei translations, signal processing,
     and I/O.
...

Kai

-- 
Kai Voigt, Gerhardstraße 97, D-24105 Kiel, +49 431 82678
"Ich wollt sie gerade küssen, da gab es einen Knall; grad eben lag sie neben
mir, jetzt liegt sie überall.  Gestern nacht ist meine Freundin explodiert, zum
Glück trug ich 'nen Integralhelm, darum ist mir nichts passiert." -- F. Urlaub