TCFTEST(1)
๐ TCFTEST(1) ๐
Tokyo Cabinet's tcftest is literally here to run test cases of the fixed-length database API, and she's ready to spill. ๐ฆ
๐ธ NAME ๐ธ
tcftestโ test cases of the fixed-length database API.
โจ DESCRIPTION โจ
Okay so the command tcftest is a utility for facility test and performance test. No cap. 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. limsiz 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 functiontcfdbsetmutex.-nlโ enable the optionFDBNOLCK.-nbโ enable the optionFDBLCKNB.-rndโ select keys at random.-wbโ use the functiontcfdbget4instead oftcfdbget2.-pn numโ specify the number of patterns.-daiโ use the functiontcfdbaddintinstead oftcfdbputcat.-dadโ use the functiontcfdbadddoubleinstead oftcfdbputcat.-rlโ set the length of values at random.-ruโ perform random operation on random key.
This command returns 0 on success, another on failure. That's the whole mood. ๐
๐ฎ SEE ALSO ๐ฎ
Catch you later, bestie ๐ โ this little icon is from the Man Page source/version, dated 2012-08-18, and it's serving TCFTEST(1) realness. Mwah! ๐
๐ฆ where this page comes from
- centos-stream 10: tokyocabinet 1.4.48-30.el10 ยท LGPL-2.1-or-later
- centos-stream 9: tokyocabinet 1.4.48-19.el9 ยท LGPLv2+
- centos-stream 9: tokyocabinet 1.4.48-19.el9 ยท LGPLv2+
- fedora 43: tokyocabinet 1.4.48-28.fc43 ยท LGPL-2.1-or-later
- fedora 43: tokyocabinet 1.4.48-28.fc43 ยท LGPL-2.1-or-later
- fedora 44: tokyocabinet 1.4.48-30.fc44 ยท LGPL-2.1-or-later
- fedora 44: tokyocabinet 1.4.48-30.fc44 ยท LGPL-2.1-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms