1DBSCAN(1) General Commands Manual DBSCAN(1)
2
3
4
6 dbscan - scans a Directory Server database index file and dumps the
7 contents
8
10 dbscan -f <filename> [-R] [-t <size>] [-K <entry_id>] [-k <key>] [-l
11 <size>] [-G <n>] [-n] [-r] [-s]
12
14 Scans a Directory Server database index file and dumps the contents.
15
17 A summary of options is included below:
18
19 -f <filename>
20 specify db file
21
22 -R dump as raw data
23
24 -t <size>
25 entry truncate size (bytes)
26
27 entry file options:
28
29 -K <entry_id>
30 lookup only a specific entry id index file options:
31
32 -k <key>
33 lookup only a specific key
34
35 -l <size>
36 max length of dumped id list (default 4096; 40 bytes <= size <=
37 1048576 bytes)
38
39 -G <n> only display index entries with more than <n> ids
40
41 -n display ID list lengths
42
43 -r display the conents of ID list
44
45 -s Summary of index counts
46
48 Sample usages:
49
50 Dump the entry file:
51 dbscan -f id2entry.db4
52
53 Display index keys in cn.db4:
54 dbscan -f cn.db4
55
56 Display index keys and the count of entries having the key in mail.db4:
57 dbscan -r -f mail.db4
58
59 Display index keys and the IDs having more than 20 IDs in sn.db4:
60 dbscan -r -G 20 -f sn.db4
61
62 Display summary of objectclass.db4:
63 dbscan -f objectclass.db4
64
66 dbscan was written by the 389 Project.
67
69 Report bugs to http://bugzilla.redhat.com.
70
72 Copyright © 2001 Sun Microsystems, Inc. Used by permission.
73 Copyright © 2008 Red Hat, Inc.
74 This manual page was written by Michele Baldessari
75 <michele@pupazzo.org>, for the Debian project (but may be used by oth‐
76 ers).
77 This is free software. You may redistribute copies of it under the
78 terms of the Directory Server license found in the LICENSE file of this
79 software distribution. This license is essentially the GNU General
80 Public License version 2 with an exception for plug-in distribution.
81
82
83
84 May 18, 2008 DBSCAN(1)