~ubuntu-branches/ubuntu/quantal/kyotocabinet/quantal

« back to all changes in this revision

Viewing changes to man/kcstashtest.1

  • Committer: Package Import Robot
  • Author(s): Shawn Landden
  • Date: 2012-06-07 16:12:07 UTC
  • Revision ID: package-import@ubuntu.com-20120607161207-prbj5blqgzzfl8of
Tags: upstream-1.2.76
ImportĀ upstreamĀ versionĀ 1.2.76

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "KCSTASHTEST" 1 "2012-05-24" "Man Page" "Kyoto Cabinet"
 
2
 
 
3
.SH NAME
 
4
kcstashtest \- command line interface to test the stash database
 
5
 
 
6
.SH DESCRIPTION
 
7
.PP
 
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.
 
9
.PP
 
10
.RS
 
11
.br
 
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
 
13
.RS
 
14
Performs in\-order tests.
 
15
.RE
 
16
.br
 
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
 
18
.RS
 
19
Performs queuing operations.
 
20
.RE
 
21
.br
 
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
 
23
.RS
 
24
Performs mixed operations selected at random.
 
25
.RE
 
26
.br
 
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
 
28
.RS
 
29
Performs test of transaction.
 
30
.RE
 
31
.RE
 
32
.PP
 
33
Options feature the following.
 
34
.PP
 
35
.RS
 
36
\fB\-th \fInum\fR\fR : specifies the number of worker threads.
 
37
.br
 
38
\fB\-rnd\fR : performs random test.
 
39
.br
 
40
\fB\-etc\fR : performs miscellaneous operations.
 
41
.br
 
42
\fB\-tran\fR : performs transaction.
 
43
.br
 
44
\fB\-bnum \fInum\fR\fR : specifies the number of buckets of the hash table.
 
45
.br
 
46
\fB\-lv\fR : reports all errors.
 
47
.br
 
48
\fB\-it \fInum\fR\fR : specifies the number of repetition.
 
49
.br
 
50
.RE
 
51
.PP
 
52
This command returns 0 on success, another on failure.