Monitor soft deletes using the ldapsearch command.
-
Run ldapsearch on the
cn=userRoot Backend,cn=monitor
branch using a search criteria targeting theds-backend-monitor-entry
object class.$ bin/ldapsearch --baseDN "cn=userRoot Backend,cn=monitor" \ --searchScope sub "(objectclass=ds-backend-monitor-entry)"
dn: cn=userRoot Backend,cn=monitor objectClass: top objectClass: ds-monitor-entry objectClass: ds-backend-monitor-entry objectClass: extensibleObject cn: userRoot Backend ds-backend-id: userRoot ds-backend-base-dn: dc=example,dc=com ds-backend-is-private: FALSE ds-backend-entry-count: 200001 ds-backend-soft-deleted-entry-count: 1000 ds-soft-delete-operations-count: 40 ds-undelete-operations-count: 20 ds-auto-purged-soft-deleted-entry-count: 0 ds-base-dn-entry-count: 200001 dc=example,dc=com ds-backend-writability-mode: enabled