For the second part, why not just query it out of the cn=monitor backend?
It keeps track of completed operations.
--Quanah
You are right on that. I originally had the Sun DS behaviour in mind
where every so often it will post two lines like:
[02/Feb/2009:15:14:29 +0200] - INFO: 205837 entries in the directory
database.
[02/Feb/2009:15:14:29 +0200] - INFO: add:16, modify:218, modrdn:0,
search:117698, delete:5, compare:0, bind:217781 since startup.
in the error log. Keeping track of operations from cn=monitor should be
enough anyway.
What about the entry cache hit ratio?