Bug 592

Summary: Current number used buckets from rrl-size
Product: NSD Reporter: Sergei Mamonov <mrqwer88>
Component: NSD CodeAssignee: NSD team <nsd-team>
Status: ASSIGNED ---    
Severity: enhancement CC: wouter
Priority: P5    
Version: 4.0.x   
Hardware: Other   
OS: Linux   

Description Sergei Mamonov 2014-06-30 13:29:12 CEST
How we can see the current number used buckets from rrl-size?
It can be add to 
nsd-control stats_noreset
output?
Comment 1 Wouter Wijngaards 2014-06-30 13:54:10 CEST
Hi Sergei,

There is no current number of used buckets.  So, I cannot print it.

The rrl does have buckets have have been used in the past X seconds.  And this is a value that could be calculated.  By passing over every entry in the rrl, for every process.  This is likely to be slow, and I do not want to make the stats command too expensive in CPU terms.  So, I have no really good solution for this.

Best regards, Wouter