Try adding a "+" sign at the end:
ldapsearch -x -D 'cn=admin,dc=xzy,dc=com' -W -b 'cn=Total,cn=Connections,cn=Monitor' +
2010/10/4 Simon Gao simon.gao@schrodinger.com:
Hi,
I am trying to retrieve information from monitoring database. However, the command like below does not return actual number for total connections.
ldapsearch -x -D 'cn=admin,dc=xzy,dc=com' -W -b 'cn=Total,cn=Connections,cn=Monitor'
Did I miss anything? or the command syntax is not right?
Simon