Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TCWTEST(1)			Tokyo Dystopia			    TCWTEST(1)

NAME
       tcwtest - test cases of the word	database API

DESCRIPTION
       The  command  `tcwtest'	is a utility for facility test and performance
       test of the q-gram database API.	 This command is used in the following
       format.	 `path'	 specifies  the	 path of a database directory.	`rnum'
       specifies the number of iterations.

	      tcwtest write [-tl] [-td|-tb|-tt]	[-et num] [-ic num]  [-nl|-nb]
	      [-la num]	[-en] [-rc] [-ra] [-rs]	path rnum
		     Store records with	random texts.
	      tcwtest  read  [-nl|-nb]	[-la  num] [-lm	num] [-en] [-rc] [-ra]
	      [-rs] path rnum
		     Search for	records	with random texts.
	      tcwtest wicked [-tl] [-td|-tb|-tt] [-et num] [-ic	num] [-nl|-nb]
	      [-la num]	[-en] [-rc] [-ra] [-rs]	path rnum
		     Perform updating operations selected at random.

       Options feature the following.

	      -tl : enable the option `WDBTLARGE'.
	      -td : enable the option `WDBTDEFLATE'.
	      -tb : enable the option `WDBTBZIP'.
	      -tt : enable the option `WDBTTCBS'.
	      -et num :	specify	the expected number of tokens.
	      -ic num :	specify	the capacity size of the token cache.
	      -nl : enable the option `WDBNOLCK'.
	      -nb : enable the option `WDBLCKNB'.
	      -la num :	specify	the average length of each records.
	      -lm num :	specify	the minimum length of each records.
	      -en : use	English-like text.
	      -rc : do not normalize character cases.
	      -ra : do not normalize characters	with accent marks.
	      -rs : do not normalize white-space characters.

       This command returns 0 on success, another on failure.

SEE ALSO
       tcwmgr(1), tcwdb(3)

Man Page			  2010-08-05			    TCWTEST(1)

NAME | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=tcwtest&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help