Processing "BIND8-like" statistics

Erik Rozendaal erik at NLnetLabs.nl
Wed Aug 6 14:24:20 CEST 2003


Stephane Bortzmeyer wrote:
> On Wed, Aug 06, 2003 at 11:01:56AM +0200,
>  Erik Rozendaal <erik at nlnetlabs.nl> wrote 
>  a message of 13 lines which said:
> 
> 
>>Isn't it easiest to add up the stats in your script? 
> 
> 
> The problem is to find all the relevant lines belonging to a single
> run of nsd. If I stop nsd and start it again, I do not want the script
> to add all the lines it finds, only those of the last instance.
> 
> Since "instance" does not mean "process" for nsd, I cannot use the PID
> to find out.

I'm not sure what the best approach would be.  You can use the PPID field 
to find the PIDs of all child servers and use that to gather statistics.

What kind of statistics gathering are you doing?  Maybe there is another 
way NSD can provide support for this.

Erik





More information about the nsd-users mailing list