Calculating queries per second (BIND 9)

Chris Pile cpile at snoogans.co.uk
Wed May 23 12:36:14 UTC 2001


I've since written this script:
http://www.snoogans.co.uk/files/rndcstats.pl

Which gives a much better idea how your DNS server is performing

"perldoc rndcstats.pl" for info and usage syntax.

Basically when you run it, initially do "./rndcstats.pl start", then
after that use "./rndcstats.pl".  Pretty simple really.

Anyone that downloaded it before, you might want to grab it again.  I've
updated it and fixed a few bugs (details in header).

Output will look something like:

bash-2.04# ./rndcstats.pl
rndc: stats command successful

                      STATS BREAKDOWN OF "named.stats"
                        stats since: Mon May 21 13:57:42 2001
          start              current            total              per
second
------------------------------------------------------------------------------
time      990449862          990621126          171264
success   283045487          329323161          46277674              
270.213
referral  39017              40108              1091                    
0.006
nxrrset   2377514            2756799            379285                  
2.215
nxdomain  21310712           25030260           3719548                
21.718
failure   4299085            4846043            546958                  
3.194
------------------------------------------------------------------------------
                                                   total per sec      
297.345



Thanks,
Chris.


More information about the bind-users mailing list