table of contents
TCRMTTEST(1) | Tokyo Tyrant | TCRMTTEST(1) |
NAME¶
tcrmttest - test cases of the remote database API
DESCRIPTION¶
The command `tcrmttest' is a utility for facility test under multi-thread situation. This command is used in the following format. `host' specifies the host name of the server. `rnum' specifies the number of iterations.
tcrmttest write [-port num] [-tnum num] [-nr] [-rnd] [-ext name] host rnum
tcrmttest read [-port num] [-tnum num] [-mul num] host
tcrmttest remove [-port num] [-tnum num] host
Options feature the following.
-tnum num : specify the number of running threads.
-nr : use the function `tcrdbputnr' instead of `tcrdbput'.
-rnd : select keys at random.
-ext name : call a script language extension function.
-mul num : specify the number of records for the mget command.
If the port number is not more than 0, UNIX domain socket is used and the path of the socket file is specified by the host parameter. This command returns 0 on success, another on failure.
SEE ALSO¶
ttserver(1), ttultest(1), ttulmgr(1), tcrtest(1), tcrmgr(1), ttutil(3), tcrdb(3)
2010-01-20 | Man Page |