On 3/5/19 10:36 AM, Champion Xie wrote:
*kresc> stats.list()*
*[answer.cached] => 2430*
This is the number of requests that kresd solved without contacting
upstream. I suppose that's the number you want.
*kresc> cache.count()*
*372*
This is the number of entries in cache. (Lower-level meaning, but close
to one entry per RRset.)
cache.stats() currently doesn't show anything meaningful, but there's a
current WIP on that
https://gitlab.labs.nic.cz/knot/knot-resolver/merge_requests/775 In
earlier versions it was about rather low-level lmdb operations, so the
numbers weren't really interesting.
--Vladimir