Table 7-27 “logconv.pl options to display occurrences” describes the options that enable the optional lists of occurrences. Specify only those required; specifying a large number of options can produce excessive output and affect execution speed. These parameters can be specified in any number and in any order, but they must all be given together as a single option on the command line, such as -abcefg.

The lists are always output in the order in which they appear in the following table, regardless of the order in which they are given on the command line.

Table 7-27 logconv.pl options to display occurrences

Option Description

eLists the most frequent error and return codes.

fLists the bind DNs with the most failed logins (invalid password).

cLists the number of occurrences for each type of connection code.

iLists the IP addresses and connection codes of the clients with the most connections, which detects clients that may be trying to compromise security.

b

Lists the most frequently used bind DNs.

a

Lists the most frequent base DNs when performing operations.

 

 

l

Lists the most frequently used filter strings for searches.

 

 

t

Lists the longest and most frequent etimes (elapsed operation time).

 

 

n

Lists the largest and most frequent nentries (entries per result).

 

 

x

Lists the number and OID of all extended operations.

 

 

r

Lists the names of the most requested attributes.

 

 

g

Lists the details of all abandoned operations.

 

 

j

Gives recommendations based on data collected from the log file.

 

 

u

Gives operation details about unindexed searches.

 

 

7.4.9 ns-accountstatus.pl (Establishes account status)

Provides account status information to establish whether an entry or group of entries is inactivated.

Syntax

ns-accountstatus.pl[ -D rootdn ] [ -w password -w - -j filename ] [ -p port ] [ -h host] -I DN [ -? ]

Options

Table 7-28 ns-accountstatus.pl options

Option

Description

-Drootdn

Specifies the Directory Server user DN with root permissions, such as Directory Manager.

 

 

-hhost

Specifies the host name of the Directory Server. The default value is the full host name of

 

the machine where Directory Server is installed.

 

 

-I DN

Specifies the entry DN or role DN whose status is required.

 

 

-pport

Specifies the Directory Server's port. The default value is the LDAP port of Directory Server

 

specified at installation time.

 

 

-wpassword

Specifies the password associated with the user DN.

 

 

7.4 Perl scripts 233