dbscan man page

dbscan — scans a Directory Server database index file and dumps the contents

Synopsis

dbscan -f <filename> [-R] [-t <size>] [-K <entry_id>] [-k <key>] [-l <size>] [-G <n>] [-n] [-r] [-s]

Description

Scans a Directory Server database index file and dumps the contents.

Options

A summary of options is included below:

-f <filename>
specify db file
-R
dump as raw data
-t <size>

entry truncate size (bytes)

entry file options:

-K <entry_id>
lookup only a specific entry id index file options:
-k <key>
lookup only a specific key
-l <size>
max length of dumped id list (default 4096; 40 bytes <= size <= 1048576 bytes)
-G <n>
only display index entries with more than <n> ids
-n
display ID list lengths
-r
display the conents of ID list
-s
Summary of index counts

Usage

Sample usages:

Dump the entry file:
dbscan -f id2entry.db4
Display index keys in cn.db4:
dbscan -f cn.db4
Display index keys and the count of entries having the key in mail.db4:
dbscan -r -f mail.db4
Display index keys and the IDs having more than 20 IDs in sn.db4:
dbscan -r -G 20 -f sn.db4
Display summary of objectclass.db4:
dbscan -f objectclass.db4

Author

dbscan was written by the 389 Project.

Reporting Bugs

Report bugs to https://fedorahosted.org/389/newticket.

Info

May 18, 2008