rsearch.1 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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 RSEARCH 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. rsearch \- Stress test an LDAP server with search operations
  20. .SH SYNOPSIS
  21. .B rsearch
  22. \fB\-D\fR binddn \fB\-w\fR bindpw \fB\-s\fR suffix \fB\-f\fR filter [\fIoptions\fR]
  23. .PP
  24. .SH DESCRIPTION
  25. Stress tests an LDAP server with search operations.
  26. .PP
  27. .\" TeX users may be more comfortable with the \fB<whatever>\fP and
  28. .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
  29. .\" respectively.
  30. .SH OPTIONS
  31. A summary of options is included below:
  32. .TP
  33. .B \-H
  34. print Usage (this message)
  35. .TP
  36. .B \fB\-h\fR host
  37. ldap server host (default: localhost)
  38. .TP
  39. .B \fB\-p\fR port
  40. ldap server port (default: 389)
  41. .TP
  42. .B \fB\-S\fR scope
  43. search SCOPE [0,1,or 2] (default: 2)
  44. .TP
  45. .B \fB\-b\fR
  46. bind before every operation
  47. .TP
  48. .B \fB\-u\fR
  49. don't unbind \fB\-\-\fR just close the connection
  50. .TP
  51. .B \fB\-L\fR
  52. set linger \fB\-\-\fR connection discarded when closed
  53. .TP
  54. .B \fB\-N\fR
  55. No operation \fB\-\-\fR just bind (ignore mdc)
  56. .TP
  57. .B \fB\-v\fR
  58. verbose
  59. .TP
  60. .B \fB\-y\fR
  61. nodelay
  62. .TP
  63. .B \fB\-q\fR
  64. quiet
  65. .TP
  66. .B \fB\-l\fR
  67. logging
  68. .TP
  69. .B \fB\-m\fR
  70. operaton: modify non\-indexed attr (description). \fB\-B\fR required
  71. .TP
  72. .B \fB\-M\fR
  73. operaton: modify indexed attr (telephonenumber). \fB\-B\fR required
  74. .TP
  75. .B \fB\-d\fR
  76. operaton: delete. \fB\-B\fR required
  77. .TP
  78. .B \fB\-c\fR
  79. operaton: compare. \fB\-B\fR required
  80. .TP
  81. .B \fB\-i\fR file
  82. name file; used for the search filter
  83. .TP
  84. .B \fB\-B\fR file
  85. [DN and] UID file (use '\-B \e?' to see the format)
  86. .TP
  87. .B \fB\-A\fR attrs
  88. list of attributes for search request
  89. .TP
  90. .B \fB\-a\fR file
  91. list of attributes for search request in a file
  92. .HP
  93. .B \fB\-\-\fR (use '\-a \e?' to see the format ; \fB\-a\fR & \fB\-A\fR are mutually exclusive)
  94. .PP
  95. .TP
  96. .B \fB\-n\fR number
  97. (reserved for future use)
  98. .TP
  99. .B \fB\-o\fR number
  100. Search time limit, in seconds; (default: 30; no time limit: 0)
  101. .TP
  102. .B \fB\-j\fR number
  103. sample interval, in seconds (default: 10)
  104. .TP
  105. .B \fB\-t\fR number
  106. threads (default: 1)
  107. .TP
  108. .B \fB\-T\fR number
  109. Time limit, in seconds; cmd stops when exceeds <number>
  110. .TP
  111. .B \fB\-V\fR
  112. show running average
  113. .TP
  114. .B \fB\-C\fR num
  115. take num samples, then stop
  116. .TP
  117. .B \fB\-R\fR num
  118. drop connection & reconnect every num searches
  119. .TP
  120. .B \fB\-x\fR
  121. Use \fB\-B\fR file for binding; ignored if \fB\-B\fR is not given
  122. .br
  123. .SH AUTHOR
  124. rsearch was written by the 389 Project.
  125. .SH "REPORTING BUGS"
  126. Report bugs to http://bugzilla.redhat.com.
  127. .SH COPYRIGHT
  128. Copyright \(co 2001 Sun Microsystems, Inc. Used by permission.
  129. .br
  130. Copyright \(co 2008 Red Hat, Inc.
  131. .br
  132. This manual page was written by Michele Baldessari <[email protected]>,
  133. for the Debian project (but may be used by others).
  134. .br
  135. This is free software. You may redistribute copies of it under the terms of
  136. the Directory Server license found in the LICENSE file of this
  137. software distribution. This license is essentially the GNU General Public
  138. License version 2 with an exception for plug-in distribution.