1TCRMTTEST(1)                     Tokyo Tyrant                     TCRMTTEST(1)
2
3
4

NAME

6       tcrmttest - test cases of the remote database API
7
8

DESCRIPTION

10       The   command   `tcrmttest'  is  a  utility  for  facility  test  under
11       multi-thread situation.  This command is used in the following  format.
12       `host'  specifies  the  host  name of the server.  `rnum' specifies the
13       number of iterations.
14
15              tcrmttest write [-port num] [-tnum num] [-nr] [-rnd] [-ext name]
16              host rnum
17                     Store  records  with  keys  of  8  bytes.  They change as
18                     `00000001', `00000002'...
19              tcrmttest read [-port num] [-tnum num] [-mul num] host
20                     Retrieve all records of the database above.
21              tcrmttest remove [-port num] [-tnum num] host
22                     Remove all records of the database above.
23
24       Options feature the following.
25
26              -port num : specify the port number.
27              -tnum num : specify the number of running threads.
28              -nr : use the function `tcrdbputnr' instead of `tcrdbput'.
29              -rnd : select keys at random.
30              -ext name : call a script language extension function.
31              -mul num : specify the number of records for the mget command.
32
33       If the port number is not more than 0, UNIX domain socket is  used  and
34       the  path  of the socket file is specified by the host parameter.  This
35       command returns 0 on success, another on failure.
36
37

SEE ALSO

39       ttserver(1), ttultest(1), ttulmgr(1), tcrtest(1), tcrmgr(1), ttutil(3),
40       tcrdb(3)
41
42
43
44Man Page                          2010-01-20                      TCRMTTEST(1)
Impressum