X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C72F62.EDD84F6A@onstor-exch02.onstor.net>; Wed, 3 Jan 2007 10:13:54 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: strace utility
Date: Wed, 3 Jan 2007 10:13:54 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E01400ECB@onstor-exch02.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0A90E8@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: strace utility
thread-index: Accu6CAyvTXBSZ14RRaaY+waRzXEzQAAJVQgABzaCHMAAYXt8A==
From: "Wencheng Chai" <wencheng.chai@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>,
	"dl-Software" <dl-software@onstor.com>


    Hi Larry,

    Thanks a lot for your note, I will take a look the man page
    of ktrace.

    Wencheng
    =20

-----Original Message-----
From: Larry Scheer=20
Sent: Wednesday, January 03, 2007 9:35 AM
To: Larry Scheer; Wencheng Chai; dl-Software
Subject: RE: strace utility

Wenchang,
   Sorry I was so terse with my initial reply. I was heading out the
door and couldn't spend much time on my first response. Knowing that you
are very resourceful I was hoping my email would at least get you
pointed in the direction you wanted to go.

OpenBSD's tracing tool is a two step process that uses ktrace to trace a
program and then kdump to read the output.

The OpenBSD man pages can be found at http://www.openbsd.org. Click on
the Manuals link on the home page and search for
ktrace and/or kdump on the manuals page.

I have used ktrace occassionally on our filer to debug problems. Its UI
is clunky compared to other tracing tools. Ktrace creates a file when
you run it that must be read with kdump. I doubt a wiki page exists on
how to use it. That would be another nice-to-have piece of
documentation.

Larry


-----Original Message-----
From: Larry Scheer
Sent: Tue 1/2/2007 7:40 PM
To: Wencheng Chai; dl-Software
Subject: RE: strace utility
=20
OpenBSD has ktrace. Look at the OpenBSD man pages on how to use it.

_____________________________________________
From: Wencheng Chai=20
Sent: Tuesday, January 02, 2007 7:35 PM
To: dl-Software
Subject: strace utility


    It looks like that we there is no "strace" utility in our bsd
distribution, strace is a very useful tool
    that can be used to debug daemon process. Could we add this tool in
our bsd?

    Wencheng

