From owner-freebsd-questions Mon Dec 17 6: 4:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id 6090837B417 for ; Mon, 17 Dec 2001 06:04:41 -0800 (PST) Received: from xena.gsicomp.on.ca ([199.243.149.34]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011217140439.MYTB6216.tomts14-srv.bellnexxia.net@xena.gsicomp.on.ca>; Mon, 17 Dec 2001 09:04:39 -0500 Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.11.1/8.11.1) with ESMTP id fBHDu6a24878; Mon, 17 Dec 2001 08:56:06 -0500 (EST) (envelope-from matt@xena.gsicomp.on.ca) Date: Mon, 17 Dec 2001 08:56:06 -0500 (EST) From: Matthew Emmerton To: jacks@sage-american.com Cc: Edwin Groothuis , Anthony Atkielski , FreeBSD Questions Subject: Re: Finding out what named is doing In-Reply-To: <3.0.5.32.20011217075748.0157afe0@mail.sage-american.com> Message-ID: 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 From the 'named' man page: SIGILL Dumps statistics data into named.stats if the server is com- piled with -DSTATS. Statistics data is appended to the file. So just send your named process a SIGILL (kill -4 `cat /var/run/named.pid`) and stats will be appended to the stats file. -- Matthew Emmerton || matt@gsicomp.on.ca GSI Computer Services || http://www.gsicomp.on.ca On Mon, 17 Dec 2001 jacks@sage-american.com wrote: > I had this same question and had already looked up "ndc" manpage, but there > is nothing seen there to do an output of stats that I can see. It does lead > to "named" manpage which has reference to this: > "/var/tmp/named.stats (file: _PATH_STATS) nameserver statistics data" > > However, it is a little cryptic about how that stats file is initiated. > > At 05:07 PM 12.11.2001 +1100, Edwin Groothuis wrote: > >On Tue, Dec 11, 2001 at 06:57:32AM +0100, Anthony Atkielski wrote: > >> Is there a simple way to see what named has cached, and other statistics on > >> what it is doing? I'm just trying to make sure that it really is > looking up > >> domain names for the two machines on my LAN and caching results. > > > >You can do it via "ndc", it's the "name daemon control program". > >See the man-page of ndc for it. > > > >Edwin > > > >-- > >Edwin Groothuis | Personal website: http://www.MavEtJu.org > >edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: > >------------------+ http://www.FatalDimensions.org/ > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > Best regards, > Jack L. Stone, > Server Admin > > Sage-American > http://www.sage-american.com > jacks@sage-american.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message