Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcftest(1) [centos man page]

TCFTEST(1)							   Tokyo Cabinet							TCFTEST(1)

NAME
tcftest - test cases of the fixed-length database API DESCRIPTION
The command `tcftest' is a utility for facility test and performance test. This command is used in the following format. `path' specifies the path of a database file. `rnum' specifies the number of iterations. `width' specifies the width of the value of each record. `lim- siz' specifies the limit size of the database file. tcftest write [-mt] [-nl|-nb] [-rnd] path rnum [width [limsiz]] Store records with keys of 8 bytes. They change as `00000001', `00000002'... tcftest read [-mt] [-nl|-nb] [-wb] [-rnd] path Retrieve all records of the database above. tcftest remove [-mt] [-nl|-nb] [-rnd] path Remove all records of the database above. tcftest rcat [-mt] [-nl|-nb] [-pn num] [-dai|-dad|-rl] path rnum [limsiz]] Store records with partway duplicated keys using concatenate mode. tcftest misc [-mt] [-nl|-nb] path rnum Perform miscellaneous test of various operations. tcftest wicked [-mt] [-nl|-nb] path rnum Perform updating operations selected at random. Options feature the following. -mt : call the function `tcfdbsetmutex'. -nl : enable the option `FDBNOLCK'. -nb : enable the option `FDBLCKNB'. -rnd : select keys at random. -wb : use the function `tcfdbget4' instead of `tcfdbget2'. -pn num : specify the number of patterns. -dai : use the function `tcfdbaddint' instead of `tcfdbputcat'. -dad : use the function `tcfdbadddouble' instead of `tcfdbputcat'. -rl : set the length of values at random. -ru : perform random operation on random key. This command returns 0 on success, another on failure. SEE ALSO
tcfmttest(1), tcfmgr(1), tcfdb(3), tokyocabinet(3) Man Page 2012-08-18 TCFTEST(1)

Check Out this Related Man Page

TCRTEST(1)							   Tokyo Tyrant 							TCRTEST(1)

NAME
tcrtest - test cases of the remote database API DESCRIPTION
The command `tcrtest' is a utility for facility test and performance test. This command is used in the following format. `host' specifies the host name of the server. `rnum' specifies the number of iterations. tcrtest write [-port num] [-cnum num] [-tout num] [-nr] [-rnd] host rnum Store records with keys of 8 bytes. They change as `00000001', `00000002'... tcrtest read [-port num] [-cnum num] [-tout num] [-mul num] [-rnd] host Retrieve all records of the database above. tcrtest remove [-port num] [-cnum num] [-tout num] [-rnd] host Remove all records of the database above. tcrtest rcat [-port num] [-cnum num] [-tout num] [-shl num] [-dai|-dad] [-ext name] [-xlr|-xlg] host rnum Store records with partway duplicated keys using concatenate mode. tcrtest misc [-port num] [-cnum num] [-tout num] host rnum Perform miscellaneous test of various operations. tcrtest wicked [-port num] [-cnum num] [-tout num] host rnum Perform updating operations of list and map selected at random. tcrtest table [-port num] [-cnum num] [-tout num] [-exp num] host rnum Perform miscellaneous test of the table extension. Options feature the following. -port num : specify the port number. -cnum num : specify the number of connections. -tout num : specify the timeout of each session in seconds. -nr : use the function `tcrdbputnr' instead of `tcrdbput'. -rnd : select keys at random. -mul num : specify the number of records for the mget command. -shl num : use `tcrdbputshl' and specify the width. -dai : use `tcrdbaddint' instead of `tcrdbputcat'. -dad : use `tcrdbadddouble' instead of `tcrdbputcat'. -ext name : call a script language extension function. -xlr : perform record locking. -xlg : perform global locking. -exp num : specify the lifetime of expiration test. 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), tcrmttest(1), tcrmgr(1), ttutil(3), tcrdb(3) Man Page 2010-01-20 TCRTEST(1)
Man Page