dbscan
252 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
Syntax
dbscan filename [options]
Options
Examples
The following are command-line examples of different situations where you
could use
dbscan
to manage your databases.
To dump the entry file
dbscan -f id2entry.db
Optio
n
Parameter Description
-f filename Specifies the name of the database file, the contents of which
are to be analyzed and extracted.
-i Specifies that the output is to be generated as an index file.
-e Specifies that the output is to be generated as an entry
(id2entry) file.
-c Specifies that the output is to be dumped as a changelog file.
-l size Specifies the maximum length for the dumped ID list; the
default length is 4096.
-n Specifies that only the lengths of ID lists should be displayed
(and not the contents).
-G Specifies that only those index entries with ID lists exceeding
the specified length are to be displayed.
-r Specifies that the output should show libdb record
numbers.
-k key Specifies the key to look up in the database file.
-K entryID Specifies the entry ID to look up.
-s Specifies that the output should show a summary of index
counts.