<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">It's generally better to pull the server statistics via statistics channel via XML or JSON that can be directly parsed by many commonly available libraries and tools.<div><br></div><div>Ondrej<br><div>
<meta charset="UTF-8"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">--</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Ondřej Surý (He/Him)</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">ondrej@isc.org</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.</div></div></div></div>
</div>
<br><br><div><br><blockquote type="cite"><div>On 12. 1. 2023, at 20:25, King, Harold Clyde (Hal) via bind-users <bind-users@lists.isc.org> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">Thank you very much. I forgot about rndc stats</div><div class="elementToProof"><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br></div><div id="Signature"><div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"></div><div style="font-family: Tahoma; font-size: 13px;"><br>--<br><br>Hal King -<span class="Apple-converted-space"> </span><a href="mailto:hck@utk.edu" style="color: rgb(149, 79, 114); text-decoration: underline;">hck@utk.edu</a><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;"><span id="cid:d47c2196-1345-4deb-b3ea-048bab50a21f"><Outlook-kyqfo42v.png></span><br></div></div></div></div><div id="appendonsend"></div><hr tabindex="-1" style="display: inline-block; width: 615.4375px;"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b><span class="Apple-converted-space"> </span>Howard, Christopher <Christopher-Howard@utc.edu><br><b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, January 12, 2023 1:42 PM<br><b>To:</b><span class="Apple-converted-space"> </span>bind-users@lists.isc.org <bind-users@lists.isc.org>; King, Harold Clyde (Hal) <hck@utk.edu><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: I need to find statistics on a running server.</font><div> </div></div><div 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=""><br></div><div data-evo-paragraph="">-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: 0px 0px 0px 0.8ex; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(114, 159, 207); padding-left: 1ex;"><div class="x_elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">That's not bad idea.</span></div><div class="x_elementToProof"><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br></div><div id="x_Signature"><div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"></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;"><span id="cid:f2542891-ff64-48e7-b76e-8dcf8558e0d7"><Outlook-bq1jm502.png></span><br></div></div></div></div><div id="x_appendonsend"></div><div><hr tabindex="-1" style="display: inline-block; width: 602.421875px;"></div><div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b><span class="Apple-converted-space"> </span>Jeff Sumner <kc4fox@gmail.com><br><b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, January 12, 2023 1:22 PM<br><b>To:</b><span class="Apple-converted-space"> </span>King, Harold Clyde (Hal) <hck@utk.edu>; bind-users <bind-users@lists.isc.org><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: I need to find statistics on a running server.</font><div> </div></div><div><div lang="PT-BR"><table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border: 0px; display: table; width: 614.71875px; table-layout: fixed; float: none;"><tbody style="display: block;"><tr><td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding: 7px 2px; background-color: rgb(166, 166, 166);"></td><td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" style="width: 580.71875px; background-color: rgb(234, 234, 234); 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: rgb(33, 33, 33); text-align: left; overflow-wrap: break-word;"><div>You don't often get email from kc4fox@gmail.com.<span class="Apple-converted-space"> </span><a href="https://aka.ms/LearnAboutSenderIdentification" style="color: rgb(149, 79, 114); text-decoration: underline;">Learn why this is important</a></div></td><td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" style="width: 75px; background-color: rgb(234, 234, 234); padding: 7px 5px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 12px; font-weight: normal; color: rgb(33, 33, 33); text-align: left; overflow-wrap: break-word;"></td></tr></tbody></table><div><div class="x_x_WordSection1"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><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></div><p class="x_x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10.5pt; font-family: "Bookman Old Style", serif;"> </span></p><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><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></div><p class="x_x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10.5pt; font-family: "Bookman Old Style", serif;"> </span></p><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10.5pt; font-family: "Bookman Old Style", serif;">J</span></div><p class="x_x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10.5pt; font-family: "Bookman Old Style", serif;"> </span></p><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><b><span style="font-size: 12pt;">De:<span class="Apple-converted-space"> </span></span></b><span style="font-size: 12pt;">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:<span class="Apple-converted-space"> </span></b>"King, Harold Clyde (Hal)" <hck@utk.edu><br><b>Data:<span class="Apple-converted-space"> </span></b>quinta-feira, 12 de janeiro de 2023 1:20 PM<br><b>Para:<span class="Apple-converted-space"> </span></b>bind-users <bind-users@lists.isc.org><br><b>Assunto:<span class="Apple-converted-space"> </span></b>I need to find statistics on a running server.</span></div></div><div><p class="x_x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"> </p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 12pt; background-color: white;">I need to find some answers like queries per second. Any fast ideas folks?</span></div></div><div><div id="x_x_Signature"><div><div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; 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></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Tahoma, sans-serif;"><span id="cid:image001.png@01D92688.E5E3A750"><image001.png></span></span></div></div></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">-- 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</div></div></div></div></div></blockquote></div>--<span class="Apple-converted-space"> </span><br>Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list<br><br>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.<br><br><br>bind-users mailing list<br>bind-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/bind-users</div></blockquote></div><br></div></body></html>