Table 7-24 ldif2db.pl options (continued)

Option

Description

-O

Requests that only the core database is created without attribute indexes.

-sincludeSuffix

Specifies the suffixes to be included or specifies the subtrees to be included if -nhas been

 

used.

-v

Specifies verbose mode.

-wpassword

Specifies the password associated with the user DN.

-w -

Prompts for the password associated with the user DN.

-xexcludeSuffix

Specifies the suffixes to be excluded.

7.4.8 logconv.pl (Log converter)

Analyzes the access logs of a Directory Server to extract usage statistics and count the occurrences of significant events. It is compatible with log formats from previous releases of Directory Server. For information on access logs, see Chapter 5 “Log file reference”.

NOTE:

The logconv.pl script is in the /opt/dirsrv/bin directory.

The tool will extract the following information from access logs:

Table 7-25 Information extracted from access logs

•

Number of restarts

• FDs (file descriptors) taken

• Total number of connections

•

FDs returned

•

Total operations requested

•

Highest FD taken

•

Total results returned

•

Disruptions:

• Results to requests ratio

•

Broken pipes

•

Number of searches

• Connections reset by peer

•

Number of modifications

• Unavailable resources (and detail)

•

Number of adds

• Total binds and types of binds

•

Number of deletes

• Most frequent occurrence lists (optional)

• Number of modified RDNs

• Error and return codes

•

Persistent searches

•

Failed logins

• Internal operations (with verbose logs)

•

Connection codes

• Entry operations (with verbose logs)

• Client IP addresses and connection codes

•

Extended operations

•

Bind DNs

•

Abandoned requests

• Base DNs for searching

• Smart referrals received (verbose logs)

•

Search filters

• VLV (virtual list view) operations

• Etimes (elapsed operation time)

•

VLV unindexed searches

•

Longest etimes

•

Server-side sorting operations

• Nentries (number of entries in result)

•

SSL connections

•

Largest Nentries

•

Performance lowering operations:

•

Extended operations

•

Entire database searches

•

Most requested attributes

• Unindexed searches (details optional)

•

Recommendations (optional)

The logconv.pl tool displays two types of statistics useful for monitoring and optimizing directory usage:

•Simple counts of events such as the total number of binds and the total number of searches provide overall usage information. This is the basic information that the tool will always print.

•Lists of the most frequently occurring parameters in LDAP requests provide insight into how the directory information is being accessed. For example, lists of the top ten bind DNs,

7.4 Perl scripts 231

Page 231
Image 231
HP UX Identity Security Software Logconv.pl Log converter, ldif2db.pl options, Information extracted from access logs