From owner-freebsd-questions Fri Jul 5 2:37:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 519D237B400 for ; Fri, 5 Jul 2002 02:37:27 -0700 (PDT) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B928F43E09 for ; Fri, 5 Jul 2002 02:37:25 -0700 (PDT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id CAA23223; Fri, 5 Jul 2002 02:36:45 -0700 (GMT) Message-Id: <3.0.6.32.20020705163717.007ae9c0@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 05 Jul 2002 16:37:17 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: Re: Disappearing Daemon? Cc: "JimBodkins" In-Reply-To: <002401c223e0$0c42dc30$8e1cd3d0@jimws> References: <3.0.6.32.20020705114443.007aa820@stjohn.stjohn.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 09:54 PM 7/4/02 -0700, you wrote: >Hi, > > I just learned about a tool called ktrace. Check the man page, (you may >need to know how to stop the trace or suffer a large output file :) ). But >something like ktrace "/usr/local/sbin/smbd -D" followed by kdump | more >(kdump >texfile) might tell you where it is exiting. > >Jim > Ah, thanks! That was just the kind of tool I was looking for. In fact, looking at the man page this might be *exactly* the tool I wanted. Unfortunately, as I posted a little earlier, the process has started running properly again just as mysteriously as it stopped. And now that you've jiggled my memory with the word "trace", why oh why couldn't I just have thought of 'apropos trace'? Since that was what I needed to do. -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message