Sun ONE Directory Server Resource Kit 5.2 Tools Reference |
Chapter 27
The Search Operations Audit ToolThe searchplay tool will analyze a log file, detect the log entries for search operations, and replay the search operations on the specified directory server. This chapter provides instructions on how to use the searchplay tool. It contains the following sections:
OverviewThe searchplay tool will analyze a log file, detect the log entries for search operations, and replay the search operations on the specified directory server. This functionality is useful for testing the integrity and consistency of directory contents. It may also be used to trace problems that occurred as a result of a sequence of events.
Command UsageThe searchplay tool is a simple tool that reads the access log file in the current directory and queries the directory server with all of the same search operations in the same order.
Syntax
The syntax of searchplay on the command-line takes the following form:
searchplay [options] [-f filename] ...
Where:
- options are the command-line options described in Options.
- filename is an optional parameter to specify a log file other than the current access log. Use this option to specify past log files that have been rotated. The -f filename option may be repeated to process more than one log file.
Options
The searchplay options and parameters are described in Table 27-1.