简体   繁体   中英

How to get active connections in LDAP in command prompt?

I am working with LDAP and it connecting from my spring boot services, Now I need to get no of active connections in LDAP by using command prompt or any tool while multi users are accessing my Service. Is there any way to do the same.

Thanks in advance.

As mentioned the comment we can track the active connections are using ldapsearch

$ ./ldapsearch --port 389 --bindDN "cn=Directory Manager" --bindPassword password --baseDN "cn=monitor" --searchScope sub --trustAll "(objectClass=*)" *

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM