File: odtest.1

package info (click to toggle)
qdbm 1.8.78-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,076 kB
  • sloc: ansic: 31,454; cpp: 3,623; perl: 2,167; java: 2,079; ruby: 1,690; makefile: 1,315; javascript: 627; sh: 396
file content (52 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH ODTEST 1 "2005-06-01" "Man Page" "Quick Database Manager"

.SH NAME
odtest \- test cases for QDBM Odeum

.SH SYNOPSIS
.PP
.B odtest write
.RI "[-tune " ibnum " " idnum " " cbnum " " csiz "] " name " " dnum " " wnum " " pnum
.br
.B odtest read
.I name
.br
.B odtest combo
.I name
.br
.B odtest wicked
.I name dnum

.SH DESCRIPTION
.PP
The command `odtest' is a utility for facility test and performance test.  Check a database generated by the command or measure the execution time of the command.  This command is used in the following format.  `name' specifies a database name.  `dnum' specifies the number of the documents.  `wnum' specifies the number of words per document.  `pnum' specifies the number of patterns of words.
.PP
.TP
.B odtest write [-tune ibnum idnum cbnum csiz] name dnum wnum pnum
Store documents with random attributes and random words.
.TP
.B odtest read name
Retrieve all documents of the database above.
.TP
.B odtest combo name
Perform combination test of various operations.
.TP
.B odtest wicked name dnum
Perform updating operations selected at random.
.PP
Options feature the following.
.PP
.RS
.B -tune ibnum idnum cbnum csiz
: set tuning parameters.
.RE
.PP
This command returns 0 on success, another on failure.  The environment variable `QDBMDBGFD' specifies the file descriptor to output the history of updating the variable `dpecode'.

.SH SEE ALSO
.PP
.BR qdbm (3),
.BR odeum (3)

.SH AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.