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

« back to all changes in this revision

Viewing changes to man/kcgrasstest.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 "KCGRASSTEST" 1 "2012-05-24" "Man Page" "Kyoto Cabinet"
 
2
 
 
3
.SH NAME
 
4
kcgrasstest \- command line interface to test the cache tree database
 
5
 
 
6
.SH DESCRIPTION
 
7
.PP
 
8
The command `\fBkcgrasstest\fR' is a utility for facility test and performance test of the cache tree database.  This command is used in the following format.  `\fIrnum\fR' specifies the number of iterations.
 
9
.PP
 
10
.RS
 
11
.br
 
12
\fBkcgrasstest 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\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
 
13
.RS
 
14
Performs in\-order tests.
 
15
.RE
 
16
.br
 
17
\fBkcgrasstest queue \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-rnd\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
 
18
.RS
 
19
Performs queuing operations.
 
20
.RE
 
21
.br
 
22
\fBkcgrasstest wicked \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
 
23
.RS
 
24
Performs mixed operations selected at random.
 
25
.RE
 
26
.br
 
27
\fBkcgrasstest tran \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\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\-tc\fR : tunes the database with the compression option.
 
45
.br
 
46
\fB\-bnum \fInum\fR\fR : specifies the number of buckets of the hash table.
 
47
.br
 
48
\fB\-psiz \fInum\fR\fR : specifies the size of each page.
 
49
.br
 
50
\fB\-pccap \fInum\fR\fR : specifies the capacity size of the page cache.
 
51
.br
 
52
\fB\-rcd\fR : use the decimal comparator instead of the lexical one.
 
53
.br
 
54
\fB\-rcld\fR : use the lexical descending comparator instead of the ascending one.
 
55
.br
 
56
\fB\-rcdd\fR : use the decimal descending comparator instead of the lexical one.
 
57
.br
 
58
\fB\-lv\fR : reports all errors.
 
59
.br
 
60
\fB\-it \fInum\fR\fR : specifies the number of repetition.
 
61
.br
 
62
.RE
 
63
.PP
 
64
This command returns 0 on success, another on failure.