dbscan.1 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH DBSCAN 1 "May 18, 2008"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. dbscan \- scans a Directory Server database index file and dumps the contents
  20. .SH SYNOPSIS
  21. .B dbscan
  22. \fB-f <filename>\fR [\fI-R\fR] [\fI-t <size>\fR]
  23. [\fI-K <entry_id>\fR] [\fI-k <key>\fR] [\fI-l <size>\fR]
  24. [\fI-G <n>\fR] [\fI-n\fR] [\fI-r\fR] [\fI-s\fR]
  25. .PP
  26. .SH DESCRIPTION
  27. Scans a Directory Server database index file and dumps the contents.
  28. .PP
  29. .\" TeX users may be more comfortable with the \fB<whatever>\fP and
  30. .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
  31. .\" respectively.
  32. .SH OPTIONS
  33. A summary of options is included below:
  34. .TP
  35. .B \fB\-f\fR <filename>
  36. specify db file
  37. .TP
  38. .B \fB\-R\fR
  39. dump as raw data
  40. .TP
  41. .B \fB\-t\fR <size>
  42. entry truncate size (bytes)
  43. .IP
  44. entry file options:
  45. .TP
  46. .B \fB\-K\fR <entry_id>
  47. lookup only a specific entry id
  48. index file options:
  49. .TP
  50. .B \fB\-k\fR <key>
  51. lookup only a specific key
  52. .TP
  53. .B \fB\-l\fR <size>
  54. max length of dumped id list
  55. (default 4096; 40 bytes <= size <= 1048576 bytes)
  56. .TP
  57. .B \fB\-G\fR <n>
  58. only display index entries with more than <n> ids
  59. .TP
  60. .B \fB\-n\fR
  61. display ID list lengths
  62. .TP
  63. .B \fB\-r\fR
  64. display the conents of ID list
  65. .TP
  66. .B \fB\-s\fR
  67. Summary of index counts
  68. .IP
  69. .SH USAGE
  70. Sample usages:
  71. .TP
  72. Dump the entry file:
  73. .B
  74. dbscan \fB\-f\fR id2entry.db4
  75. .TP
  76. Display index keys in cn.db4:
  77. .B dbscan \fB\-f\fR cn.db4
  78. .TP
  79. Display index keys and the count of entries having the key in mail.db4:
  80. .B
  81. dbscan \fB\-r\fR \fB\-f\fR mail.db4
  82. .TP
  83. Display index keys and the IDs having more than 20 IDs in sn.db4:
  84. .B
  85. dbscan \fB\-r\fR \fB\-G\fR 20 \fB\-f\fR sn.db4
  86. .TP
  87. Display summary of objectclass.db4:
  88. .B
  89. dbscan \fB\-f\fR objectclass.db4
  90. .br
  91. .SH AUTHOR
  92. dbscan was written by the 389 Project.
  93. .SH "REPORTING BUGS"
  94. Report bugs to http://bugzilla.redhat.com.
  95. .SH COPYRIGHT
  96. Copyright \(co 2001 Sun Microsystems, Inc. Used by permission.
  97. .br
  98. Copyright \(co 2008 Red Hat, Inc.
  99. .br
  100. This manual page was written by Michele Baldessari <[email protected]>,
  101. for the Debian project (but may be used by others).
  102. .br
  103. This is free software. You may redistribute copies of it under the terms of
  104. the Directory Server license found in the LICENSE file of this
  105. software distribution. This license is essentially the GNU General Public
  106. License version 2 with an exception for plug-in distribution.