1825002 Members
2601 Online
109678 Solutions
New Discussion

named mesgs in syslog

 
SOLVED
Go to solution
Phua Cheng Ching
Occasional Contributor

named mesgs in syslog

There are some "named" statistics messages in syslog . Is there some document which describe the following/parameters






Aug 30 08:54:25 bb-dns2 named[447]: Cleaned cache of 0 RRs
Aug 30 08:54:25 bb-dns2 named[447]: USAGE 999132865 996638066 CPU=75.74u/128.95s CHILDCPU=0.06u/0.04s
Aug 30 08:54:25 bb-dns2 named[447]: NSTATS 999132865 996638066 A=24006 SOA=8326 PTR=4967 MX=2 AXFR=2 ANY=3
Aug 30 08:54:25 bb-dns2 named[447]: XSTATS 999132865 996638066 RR=129900 RNXD=1 RFwdR=30 RDupR=1 RFail=0 RFErr=0 RErr=0 RAXFR=2 RLame=0 ROpts=0 SSysQ=129872 SAns=37282 SFwdQ=27 SDupQ=86 SErr=0 RQ=37306 RIQ=0 RFwdQ=27 RDupQ=9 RTCP=4 SFwdR=30 SFail=12 SFErr=0 SNaAns=17 SNXD=5207
1 REPLY 1
Steven Gillard_2
Honored Contributor
Solution

Re: named mesgs in syslog

The only 'official' documentation I've seen is the source code (but I haven't really looked for anything else :) Here's what they mean:

>>Aug 30 08:54:25 bb-dns2 named[447]: USAGE 999132865 996638066 CPU=75.74u/128.95s CHILDCPU=0.06u/0.04s

The first two are the current time and named process start time respectively. Then you have the user and system mode CPU usage.

>>Aug 30 08:54:25 bb-dns2 named[447]: NSTATS 999132865 996638066 A=24006 SOA=8326 PTR=4967 MX=2 AXFR=2 ANY=3

The number of queries the name server has responded to, by type.

>>Aug 30 08:54:25 bb-dns2 named[447]: XSTATS 999132865 996638066 RR=129900 RNXD=1 RFwdR=30 RDupR=1 RFail=0 RFErr=0 RErr=0 RAXFR=2 RLame=0 ROpts=0 SSysQ=129872 SAns=37282 SFwdQ=27 SDupQ=86 SErr=0 RQ=37306 RIQ=0 RFwdQ=27 RDupQ=9 RTCP=4 SFwdR=30 SFail=12 SFErr=0 SNaAns=17 SNXD=5207

These are the BIND transaction statistics. Straight out of the code:

static const char *statNames[nssLast] = {
"RR", /* sent us an answer */
"RNXD", /* sent us a negative response */
"RFwdR", /* sent us a response we had to fwd */
"RDupR", /* sent us an extra answer */
"RFail", /* sent us a SERVFAIL */
"RFErr", /* sent us a FORMERR */
"RErr", /* sent us some other error */
"RAXFR", /* sent us an AXFR */
"RLame", /* sent us a lame delegation */
"ROpts", /* sent us some IP options */
"SSysQ", /* sent them a sysquery */
"SAns", /* sent them an answer */
"SFwdQ", /* fwdd a query to them */
"SDupQ", /* sent them a retry */
"SErr", /* sent failed (in sendto) */
"RQ", /* sent us a query */
"RIQ", /* sent us an inverse query */
"RFwdQ", /* sent us a query we had to fwd */
"RDupQ", /* sent us a retry */
"RTCP", /* sent us a query using TCP */
"SFwdR", /* fwdd a response to them */
"SFail", /* sent them a SERVFAIL */
"SFErr", /* sent them a FORMERR */
"SNaAns", /* sent them a non autoritative answer */
"SNXD", /* sent them a negative response */
};


Regards,
Steve