Search with the cn=changelog, cn=monitor base

You can obtain the change log attribute cache information with a search against the cn=changelog, cn=monitor base. You must run the search command with the administrator credentials.

To retrieve the change log attribute cache information, run the ldapsearch command with the cn=changelog, cn=monitor base.

ldapsearch -h server -p port -D adminDN -w adminPWD  \
-b cn=changelog, cn=monitor -s base objectclass=*

The ldapsearch command with the cn=changelog, cn=monitor base returns the following attributes:

cached_attribute_total_size
The amount of memory that is used by the change log attribute cache, in KB. The memory that is used includes memory to manage the cache that is not charged to the individual attribute caches. This total is larger than the sum of the memory that is used by all the individual attribute caches.
cached_attribute_configured_size
The maximum amount of memory in KB that is set for use by the change log attribute cache
cached_attribute_hit
The number of times the attribute is used in a filter that might be processed by the change log attribute cache.
The value is in the following format:
cached_attribute_hit=attrname:#####
cached_attribute_size
The amount of memory that is used for this attribute in the change log attribute cache.
The value is reported in KB and is in the following format:
cached_attribute_size=attrname:######
cached_attribute_candidate_hit
A list of up to 10 most frequently used non-cached attributes that are used in a filter. The change log attribute cache might process these attributes if the attributes used in the filter are cached.
The value is in the following format:
cached_attribute_candidate_hit=attrname:#####
You can use this list to decide which attributes to cache. Typically, you want to put a limited number of attributes into the attribute cache because of memory constraints.