timing ldap queries
I am trying to capture alerts for my ldap queries to let me know if search times are getting to be too long.
So I scripted this using the internal time command and ldapsearch which gives me a parameter in seconds.
( e.g. $time ldapsearch -x -h$ SERVER -bo=xxx.com ou=global )
Is there a better way?
Thanks in advance for any help or thoughts
Last edited by cheltz; 06-07-2012 at 01:50 PM.
Reason: spelling wat else