TCFMTTEST(1)
π NAME π
tcfmttest β test cases of the fixed-length database API. This is the Tokyo Cabinet manual, bestie, and this utility is here to do its facility-test thing under multi-thread situation. Slay. π
β¨ DESCRIPTION β¨
Okay so real talk: tcfmttest is a utility for facility test under multi-thread situation. That's the official vibe. It's used in the following format.
pathβ specifies the path of a database file.tnumβ specifies the number of running threads.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.
Here are the modes, and yes, every flag matters, no cap:
tcfmttest write [-nl|-nb] [-rnd] path tnum rnum [width [limsiz]]β Store records with keys of8bytes. They change as00000001,00000002...tcfmttest read [-nl|-nb] [-wb] [-rnd] path tnumβ Retrieve all records of the database above.tcfmttest remove [-nl|-nb] [-rnd] path tnumβ Remove all records of the database above.tcfmttest wicked [-nl|-nb] [-nc] path tnum rnumβ Perform updating operations selected at random.tcfmttest typical [-nl|-nb] [-nc] [-rr num] path tnum rnum [width [limsiz]]β Perform typical operations selected at random.
π OPTIONS π
These options feature the following, bestie:
-nlβ enable the optionFDBNOLCK.-nbβ enable the optionFDBLCKNB.-rndβ select keys at random.-wbβ use the functiontcfdbget4instead oftcfdbget2.-ncβ omit the comparison test.-rr numβ sets the ratio of reading operation by percentage.
This command returns 0 on success, another on failure. Periodt. π«Ά
π¦ SEE ALSO π¦
tcftest(1), tcfmgr(1), tcfdb(3), tokyocabinet(3) β go read these too, iykyk. π
Mwah! π That's the whole page. The manual is Tokyo Cabinet, the footer says Man Page, and the date is 2012-08-18 β with page tag TCFMTTEST(1). Bye bestie! π«Ά
π¦ 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
- nixos 26.05: tokyocabinet 1.4.48
- nixpkgs unstable: tokyocabinet 1.4.48
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms