rndcstats.pl
Chris Pile
cpile at snoogans.co.uk
Fri Jan 11 11:34:00 UTC 2002
Hi,
Just to let you all know I have updated my rndcstats.pl script quite a bit.
It is intended for use with BIND 9. It uses the rndc stats command and file to
calculate the number of queries per second. The latest version also displays
per zone-statistics if you have that turned on in named.conf.
Thanks,
Chris Pile.
----
Site:
http://www.snoogans.co.uk/dns/index.htm
Direct Link:
http://www.snoogans.co.uk/dns/files/rndcstats-1.7.pl
Docs (see also "perldoc rndcstats-1.7.pl"):
http://www.snoogans.co.uk/dns/rndcstats.htm
----
e.g.
$ ./rndcstats-1.7.pl
rndc: stats command successful
STATS BREAKDOWN OF "/var/log/named.stats"
stats since: Wed Jan 9 13:07:34 2002 (2009s ago)
MAIN SERVER:
Type Queries Total/sec
------------------------------------
success: 39907 19.864
referral: 5769 2.872
nxrrset: 2310 1.150
nxdomain: 6553 3.262
recursion: 4062 2.022
failure: 1478 0.736
------------------------------------
Totals: 60079 29.905
ZONES:
success referral nxrrset nxdomain failure total total/sec zone
----------------------------------------------------------------------------------------------
7327 0 146 273 0 7746 3.856 foo.net
5472 0 308 20 0 5800 2.887 foo.co.uk
3791 0 29 48 0 3868 1.925 foo.bar.net
425 0 0 8 0 433 0.216 1.168.192.in-addr.arpa
407 0 5 0 0 412 0.205 foo.bar.com
350 0 7 0 0 357 0.178 foo.bar.co.uk
----------------------------------------------------------------------------------------------
success referral nxrrset nxdomain failure total total/sec zone
More information about the bind-users
mailing list