From owner-freebsd-isp Fri Jun 23 18:17:24 2000 Delivered-To: freebsd-isp@freebsd.org Received: from www.bellnetworks.net (www.bellnetworks.net [208.177.187.234]) by hub.freebsd.org (Postfix) with ESMTP id 1E12C37B56E for ; Fri, 23 Jun 2000 18:17:14 -0700 (PDT) (envelope-from jerry@bellnetworks.net) Received: from itbell2 ([208.177.187.246]) by www.bellnetworks.net (8.9.3/8.9.3) with SMTP id VAA85208; Fri, 23 Jun 2000 21:15:58 -0400 (EDT) (envelope-from jerry@bellnetworks.net) From: Jerry Bell Message-ID: <000b01bfdd78$b462efa0$f6bbb1d0@bellnetworks.net> To: "Jeff Gray" , References: <39536FAF.3FEE41A7@netbox.com> Subject: Re: named resources Date: Fri, 23 Jun 2000 21:08:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Since DNS is UDP based (which is connectionless), you won't be able to use netstat. You can use the 'ndc stats' command and look at the named.memstats file it generates to get the number of requests it has serviced. Hope that helps. Jerry ----- Original Message ----- From: "Jeff Gray" To: Sent: Friday, June 23, 2000 10:09 AM Subject: named resources > Am considering setting up another name server. To properly spec it > decided to get some idea of the bandwidth is consumes on one of our > current nameservers. > > netstat|grep -c dom > > Thought this should give me the current number of connections but..... > it gives a fixed number of connections. > That is, each time I run it over a two day period Iget the same output. > > netstat| grep LISTEN| grep -c dom > > This cuts the number in half, removes the udp connections, but as it is > half it too is constant. > > How to get the munber of current named connections ? > > Other advice also happily accepted. > > Thanks > jeff > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message