#!/bin/ksh # $Id: slapd-monitor,v 1.1 2004/03/23 16:21:13 ksb Exp $ # Find the ldapsearch program and run it to find stats about # our local domain (as cn=monitor, or $1). -- ksb unset LD_LIBRARY_PATH PATH=/opt/netscape/consumer5/shared/bin:/LDAP/usr/iplanet/servers/shared/bin:$PATH;export PATH cd $(dirname `whence ldapsearch`) ldapsearch -p 8329 -b "${1:-cn=monitor}" -s base "objectClass=*"