1
- .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3 .
2
- .TH MEMTIER_BENCHMARK "1" "December 2016 " "memtier_benchmark 1.2.7 " "User Commands"
1
+ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11 .
2
+ .TH MEMTIER_BENCHMARK "1" "January 2020 " "memtier_benchmark 1.2.17 " "User Commands"
3
3
.SH NAME
4
4
memtier_benchmark \- NoSQL benchmark tool
5
5
.SH SYNOPSIS
@@ -23,6 +23,27 @@ Protocol to use (default: redis). Other
23
23
supported protocols are memcache_text,
24
24
memcache_binary.
25
25
.TP
26
+ \fB \- a \fR , \fB \-\- authenticate \fR =\fI \, CREDENTIALS \/ \fR Authenticate using specified credentials.
27
+ A simple password is used for memcache_text
28
+ and Redis <= 5.x. <USER>:<PASSWORD> can be
29
+ specified for memcache_binary or Redis 6.x
30
+ or newer with ACL user support.
31
+ .TP
32
+ \fB \-\- tls \fR
33
+ Enable SSL/TLS transport security
34
+ .TP
35
+ \fB \-\- cert \fR =\fI \, FILE \/ \fR
36
+ Use specified client certificate for TLS
37
+ .TP
38
+ \fB \-\- key \fR =\fI \, FILE \/ \fR
39
+ Use specified private key for TLS
40
+ .TP
41
+ \fB \-\- cacert \fR =\fI \, FILE \/ \fR
42
+ Use specified CA certs bundle for TLS
43
+ .TP
44
+ \fB \-\- tls \- skip \- verify \fR
45
+ Skip verification of server certificate
46
+ .TP
26
47
\fB \- x \fR , \fB \-\- run \- count \fR =\fI \, NUMBER \/ \fR
27
48
Number of full\- test iterations to perform
28
49
.TP
@@ -35,12 +56,18 @@ Produce per\-client stats file
35
56
\fB \-\- out \- file \fR =\fI \, FILE \/ \fR
36
57
Name of output file (default: stdout)
37
58
.TP
59
+ \fB \-\- json \- out \- file \fR =\fI \, FILE \/ \fR
60
+ Name of JSON output file, if not set, will not print to json
61
+ .TP
38
62
\fB \-\- show \- config \fR
39
63
Print detailed configuration before running
40
64
.TP
41
65
\fB \-\- hide \- histogram \fR
42
66
Don't print detailed latency histogram
43
67
.TP
68
+ \fB \-\- cluster \- mode \fR
69
+ Run client in cluster mode
70
+ .TP
44
71
\fB \-\- help \fR
45
72
Display this help
46
73
.TP
@@ -73,9 +100,6 @@ Number of requests after which re\-connection is performed
73
100
\fB \-\- multi \- key \- get \fR =\fI \, NUM \/ \fR
74
101
Enable multi\- key get commands, up to NUM keys (default: 0)
75
102
.TP
76
- \fB \- a \fR , \fB \-\- authenticate \fR =\fI \, CREDENTIALS \/ \fR Authenticate to redis using CREDENTIALS, which depending
77
- on the protocol can be PASSWORD or USER:PASSWORD.
78
- .TP
79
103
\fB \-\- select \- db \fR =\fI \, DB \/ \fR
80
104
DB number to select, when testing a redis server
81
105
.TP
@@ -84,6 +108,26 @@ Use a different random seed for each client
84
108
.TP
85
109
\fB \-\- randomize \fR
86
110
random seed based on timestamp (default is constant value)
111
+ .SS "Arbitrary command:"
112
+ .TP
113
+ \fB \-\- command \fR =\fI \, COMMAND \/ \fR
114
+ Specify a command to send in quotes.
115
+ Each command that you specify is run with its ratio and key\- pattern options.
116
+ For example: \fB \-\- command= \fR "set __key__ 5" \fB \-\- command \- ratio \fR =\fI \, 2 \/ \fR \fB \-\- command \- key \- pattern \fR =\fI \, G \/ \fR
117
+ To use a generated key or object, enter:
118
+ .TP
119
+ __key__: Use key generated from Key Options.
120
+ __data__: Use data generated from Object Options.
121
+ .TP
122
+ \fB \-\- command \- ratio \fR
123
+ The number of times the command is sent in sequence.(default: 1)
124
+ .TP
125
+ \fB \-\- command \- key \- pattern \fR
126
+ Key pattern for the command (default: R):
127
+ G for Gaussian distribution.
128
+ R for uniform Random.
129
+ S for Sequential.
130
+ P for Parallel (Sequential were each client has a subset of the key\- range).
87
131
.SS "Object Options:"
88
132
.TP
89
133
\fB \- d \fR \fB \-\- data \- size \fR =\fI \, SIZE \/ \fR
@@ -163,7 +207,7 @@ WAIT for a random number of slaves in the specified range
163
207
WAIT for a random number of milliseconds in the specified range (normal
164
208
distribution with the center in the middle of the range)
165
209
.SH COPYRIGHT
166
- Copyright \(co 2011\- 2016 Redis Labs Ltd.
210
+ Copyright \(co 2011\- 2017 Redis Labs Ltd.
167
211
.br
168
212
This is free software. You may redistribute copies of it under the terms of
169
213
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
0 commit comments