dbscan - scans a Directory Server database index file and dumps the contents
dbscan -f <filename>
] [-t <size>
] [-k <key>
] [-l <size>
Scans a Directory Server database index file and dumps the contents.
A summary of options is included below:
- -f <filename>
- specify db file
- 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>
- display ID list lengths
- display the conents of ID list
- Summary of index counts
- 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
- dbscan -r -f mail.db4
- Display index keys and the IDs having more than 20 IDs in
- dbscan -r -G 20 -f sn.db4
- Display summary of objectclass.db4:
- dbscan -f objectclass.db4
dbscan was written by the 389 Project.
Report bugs to https://pagure.io/389-ds-base/new_issue
Copyright © 2001 Sun Microsystems, Inc. Used by permission.
Copyright © 2017 Red Hat, Inc.
This manual page was written by Michele Baldessari <email@example.com>,
for the Debian project (but may be used by others).
This is free software. You may redistribute copies of it under the terms of the
Directory Server license found in the LICENSE file of this software
distribution. This license is essentially the GNU General Public License
version 2 with an exception for plug-in distribution.