Bug 592 - Current number used buckets from rrl-size
Current number used buckets from rrl-size
Product: NSD
Classification: Unclassified
Component: NSD Code
Other Linux
: P5 enhancement
Assigned To: NSD team
Depends on:
  Show dependency treegraph
Reported: 2014-06-30 13:29 CEST by Sergei Mamonov
Modified: 2014-06-30 13:54 CEST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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
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