1RSEARCH(1) General Commands Manual RSEARCH(1)
2
3
4
6 rsearch - Stress test an LDAP server with search operations
7
9 rsearch -D binddn -w bindpw -s suffix -f filter [options]
10
12 Stress tests an LDAP server with search operations.
13
15 A summary of options is included below:
16
17 -H print Usage (this message)
18
19 -h host
20 ldap server host (default: localhost)
21
22 -p port
23 ldap server port (default: 389)
24
25 -S scope
26 search SCOPE [0,1,or 2] (default: 2)
27
28 -b bind before every operation
29
30 -u don't unbind -- just close the connection
31
32 -L set linger -- connection discarded when closed
33
34 -N No operation -- just bind (ignore mdc)
35
36 -v verbose
37
38 -y nodelay
39
40 -q quiet
41
42 -l logging
43
44 -m operaton: modify non-indexed attr (description). -B required
45
46 -M operaton: modify indexed attr (telephonenumber). -B required
47
48 -d operaton: delete. -B required
49
50 -c operaton: compare. -B required
51
52 -i file
53 name file; used for the search filter
54
55 -B file
56 [DN and] UID file (use '-B \?' to see the format)
57
58 -A attrs
59 list of attributes for search request
60
61 -a file
62 list of attributes for search request in a file
63
64 -- (use '-a \?' to see the format ; -a & -A are mutually exclusive)
65
66 -n number
67 (reserved for future use)
68
69 -o number
70 Search time limit, in seconds; (default: 30; no time limit: 0)
71
72 -j number
73 sample interval, in seconds (default: 10)
74
75 -t number
76 threads (default: 1)
77
78 -T number
79 Time limit, in seconds; cmd stops when exceeds <number>
80
81 -V show running average
82
83 -C num take num samples, then stop
84
85 -R num drop connection & reconnect every num searches
86
87 -x Use -B file for binding; ignored if -B is not given
88
90 rsearch was written by the 389 Project.
91
93 Report bugs to https://pagure.io/389-ds-base/new_issue
94
96 Copyright © 2001 Sun Microsystems, Inc. Used by permission.
97 Copyright © 2017 Red Hat, Inc.
98 This manual page was written by Michele Baldessari
99 <michele@pupazzo.org>, for the Debian project (but may be used by oth‐
100 ers).
101 This is free software. You may redistribute copies of it under the
102 terms of the Directory Server license found in the LICENSE file of this
103 software distribution. This license is essentially the GNU General
104 Public License version 2 with an exception for plug-in distribution.
105
106
107
108 March 31, 2017 RSEARCH(1)