[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openbsd has no strace ?

On Thu, Dec 12, 2002 at 03:49:02PM +0100, Hannah Schroeter wrote:
> Hello!
> On Thu, Dec 12, 2002 at 01:52:54AM +0100, Stefan Sonnenberg-Carstens wrote:
> >Ok, I'd like to inspect the trace of a program, that indeed has problems
> >with
> >threads.
> >The question is, if ktrace will help me.
> Just try it out: ktrace -i program argument ...
> After the program has exited, just kdump |less

You can also use "kdump -l" to watch the tracefile while ktrace is
appending to it. No need to wait for the traced program to exit.


Free your mind and your ass will follow -- http://www.funkaffair.de