<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>You can use "rndc stats" to have bind dump a file with stats in it.  This is how I get stats from our servers.  I store the values every 2 minutes and create a dashboard from that.  Stuff like total queries, total queries from ipv4 clients, total queries
 from ipv6 clients, total A/AAAA/CNAME/PTR/NXDOMAIN requests/answers.  With it stored every 2 minutes it's easy to chart out number per second, of course that's averaged out over the 2 minute window.</div>
<div><span>
<div data-evo-paragraph="" class=""><br>
</div>
<div data-evo-paragraph="" class="">-Christopher</div>
</span></div>
<div><br>
</div>
<div><br>
</div>
<div>On Thu, 2023-01-12 at 18:30 +0000, King, Harold Clyde (Hal) via bind-users wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">That's not bad idea.</span></div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div style="font-family:Tahoma; font-size:13px"><br>
--<br>
<br>
Hal King  - hck@utk.edu<br>
Systems Administrator<br>
Office of Information Technology<br>
Shared Services<br>
<br>
The University of Tennessee<br>
103c5 Kingston Pike Building<br>
2309 Kingston Pk. Knoxville, TN 37996<br>
Phone: 974-1599</div>
<div style="font-family:Tahoma; font-size:13px"><img style="max-width: 100%;" data-outlook-trace="F:1|T:1" src="cid:f2542891-ff64-48e7-b76e-8dcf8558e0d7"><br>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<div>
<hr style="display:inline-block;width:98%" tabindex="-1">
</div>
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jeff Sumner <kc4fox@gmail.com><br>
<b>Sent:</b> Thursday, January 12, 2023 1:22 PM<br>
<b>To:</b> King, Harold Clyde (Hal) <hck@utk.edu>; bind-users <bind-users@lists.isc.org><br>
<b>Subject:</b> Re: I need to find statistics on a running server.</font>
<div> </div>
</div>
<div><style><!-- @font-face {font-family:"Cambria Math"} @font-face {font-family:Calibri} @font-face {font-family:"Bookman Old Style"} @font-face {} @font-face {font-family:Tahoma} p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif} a:link, span.x_MsoHyperlink {color:#0563C1; text-decoration:underline} a:visited, span.x_MsoHyperlinkFollowed {color:#954F72; text-decoration:underline} p.x_msonormal0, li.x_msonormal0, div.x_msonormal0 {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif} span.x_EstiloCorreioEletrnico19 {font-family:"Bookman Old Style",serif; color:windowtext} .x_MsoChpDefault {font-size:10.0pt} @page WordSection1 {margin:70.85pt 85.05pt 70.85pt 85.05pt} div.x_WordSection1 {} --></style></div>
<div lang="PT-BR" link="#0563C1" vlink="#954F72">
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody style="display:block">
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>You don't often get email from kc4fox@gmail.com. <a href="https://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:"Bookman Old Style",serif">I’ve turned on query logging, then grepped for the count of lines logged in a particular second.</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:"Bookman Old Style",serif"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:"Bookman Old Style",serif">Worked well enough for the job at the time.</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:"Bookman Old Style",serif"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:"Bookman Old Style",serif">J</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:"Bookman Old Style",serif"> </span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b><span style="font-size:12.0pt; color:black">De: </span>
</b><span style="font-size:12.0pt; color:black">bind-users <bind-users-bounces@lists.isc.org> em nome de "King, Harold Clyde (Hal) via bind-users" <bind-users@lists.isc.org><br>
<b>Responder A: </b>"King, Harold Clyde (Hal)" <hck@utk.edu><br>
<b>Data: </b>quinta-feira, 12 de janeiro de 2023 1:20 PM<br>
<b>Para: </b>bind-users <bind-users@lists.isc.org><br>
<b>Assunto: </b>I need to find statistics on a running server.</span></p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black; background:white">I need to find some answers like queries per second.  Any fast ideas folks?</span></p>
</div>
<div>
<div id="x_Signature">
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"><br>
--<br>
<br>
Hal King  - hck@utk.edu<br>
Systems Administrator<br>
Office of Information Technology<br>
Shared Services<br>
<br>
The University of Tennessee<br>
103c5 Kingston Pike Building<br>
2309 Kingston Pk. Knoxville, TN 37996<br>
Phone: 974-1599</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"><img width="227" height="105" id="x__x0000_i1025" alt="cid:ddc53916-50a2-4e86-8dac-18eabfd73205" style="width:2.3645in; height:1.0937in" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D92688.E5E3A750"></span></p>
</div>
</div>
</div>
</div>
<p class="x_MsoNormal">-- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users
 mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users</p>
</div>
</div>
</div>
</blockquote>
</body>
</html>