1
.TH "KCSTASHTEST" 1 "2012-05-24" "Man Page" "Kyoto Cabinet"
4
kcstashtest \- command line interface to test the stash database
8
The command `\fBkcstashtest\fR' is a utility for facility test and performance test of the stash database. This command is used in the following format. `\fIrnum\fR' specifies the number of iterations.
12
\fBkccachetest order \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fR[\fB\-tran\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
14
Performs in\-order tests.
17
\fBkccachetest queue \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-rnd\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
19
Performs queuing operations.
22
\fBkccachetest wicked \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
24
Performs mixed operations selected at random.
27
\fBkccachetest tran \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
29
Performs test of transaction.
33
Options feature the following.
36
\fB\-th \fInum\fR\fR : specifies the number of worker threads.
38
\fB\-rnd\fR : performs random test.
40
\fB\-etc\fR : performs miscellaneous operations.
42
\fB\-tran\fR : performs transaction.
44
\fB\-bnum \fInum\fR\fR : specifies the number of buckets of the hash table.
46
\fB\-lv\fR : reports all errors.
48
\fB\-it \fInum\fR\fR : specifies the number of repetition.
52
This command returns 0 on success, another on failure.