В Чтв, 05/09/2013 в 11:56 -0700, Howard Chu пишет: > Покотиленко Костик wrote: > > Hi, > > > > Is there a way to log the time each operation took? > > Every message in syslog already has a timestamp.
Every message in syslog has time the operation has finished at. What I need is the time it took each operation to complete (in milliseconds or microseconds). It would be strange if the is no way to get this information. > Also, recent versions of OpenLDAP include a timestamp on debug output too. > You > didn't mention which version you're using so can't tell you much more. > > > I have strange CPU load (~200%) with just ~15 operations per second. > > SRCH is >90% of all operations. All attributed involved in search a > > indexed (many single attribute indexes, ~30). > > > > The point is to find which search operations a taking long time to > > develop a solution. > > > > > > > >
