dysttest(1)
| DYSTTEST(1) | Tokyo Dystopia | DYSTTEST(1) |
NAME
dysttest - test cases of the core API
DESCRIPTION
The command `dysttest' is a utility for facility test and performance test of the core API. This command is used in the following format. `path' specifies the path of a database directory. `rnum' specifies the number of iterations.
dysttest write [-tl] [-td|-tb|-tt] [-er num] [-et num] [-iu num] [-ic num] [-xnt] [-nl|-nb] [-la num] [-en] path rnum
Store records with random texts.
dysttest read [-nl|-nb] [-la num] [-lm num] [-en] [-sp|-ss|-sf|-st|-stp|-sts] path rnum
Search for records with random texts.
dysttest wicked [-tl] [-td|-tb|-tt] [-er num] [-et num] [-iu num] [-ic num] [-nl|-nb] [-la num] [-en] path rnum
Perform updating operations selected at random.
Options feature the following.
-tl : enable the option `IDBTLARGE'.
-td : enable the option `IDBTDEFLATE'.
-tb : enable the option `IDBTBZIP'.
-tt : enable the option `IDBTTCBS'.
-er num : specify the expected number of records.
-et num : specify the expected number of tokens.
-iu num : specify the unit size of each index file.
-ic num : specify the capacity size of the token cache.
-xnt : disable the text database.
-nl : enable the option `IDBNOLCK'.
-nb : enable the option `IDBLCKNB'.
-la num : specify the average length of each records.
-lm num : specify the minimum length of each records.
-en : use English-like text.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-sf : use the full matching mode.
-st : use the token matching mode.
-stp : use the token prefix matching mode.
-sts : use the token suffix matching mode.
-td : enable the option `IDBTDEFLATE'.
-tb : enable the option `IDBTBZIP'.
-tt : enable the option `IDBTTCBS'.
-er num : specify the expected number of records.
-et num : specify the expected number of tokens.
-iu num : specify the unit size of each index file.
-ic num : specify the capacity size of the token cache.
-xnt : disable the text database.
-nl : enable the option `IDBNOLCK'.
-nb : enable the option `IDBLCKNB'.
-la num : specify the average length of each records.
-lm num : specify the minimum length of each records.
-en : use English-like text.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-sf : use the full matching mode.
-st : use the token matching mode.
-stp : use the token prefix matching mode.
-sts : use the token suffix matching mode.
This command returns 0 on success, another on failure.
SEE ALSO
| 2009-01-07 | Man Page |
