cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

0f0725c Issue 49593 - NDN cache stats should be under the global stats

Authored and Committed by spichugi 6 years ago
    Issue 49593 - NDN cache stats should be under the global stats
    
    Bug description: The Normalized DN cache stats are listed under
    backend stats, but the cache is global across all backends so
    they should just be listed under the global ldbm monitor.
    
    Fix description: Move NDN stats to global ldbm monitor.
    Change lib389 MonitorLDBM and MonitorBackend objects accordingly.
    Fix dbmon.sh tool so it shows the stats like this:
    Wed Mar  7 12:50:14 EST 2018
    dbcachefree 52150272 free% 99.812 roevicts 0 hit% 100 pagein 0 pageout 0
          dbname      count          free  free%    size  hit_ratio
      global:ndn         69      20960096 99.946 165.565         73
    userroot:ent          2     201318969  100.0  3811.5       62.0
    userroot:dn           2      67108738  100.0    63.0        0.0
    
    https://pagure.io/389-ds-base/issue/49593
    
    Reviewed by: mreynolds, wibrown (Thanks!)
    
        
file modified
+22 -7