KCDIRTEST(1)
π KCDIRTEST(1) π
okay bestie, so this is kcdirtest from the Kyoto Cabinet manual (section 1, she's official). Sit down, grab a boba, because this little icon runs the facility test and the performance test for the directory hash database. Yeah. She's the whole vibe.
πΈ NAME πΈ
kcdirtest β the command line interface to test the directory hash database. literally just that. no cap. π
β¨ DESCRIPTION β¨
So like, the command kcdirtest is a utility for facility test and performance test of the directory hash database. She's not here to be cute, she's here to test. π
You run her in the following format, okay? Listen up:
pathspecifies the path of a database file. πrnumspecifies the number of iterations. π
kcdirtest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc]
[-tran] [-oat|-onl|-onl|-otl|-onr] [-tc] [-lv] path rnum
Performs in-order tests.
kcdirtest queue [-th num] [-it num] [-rnd]
[-oat|-onl|-onl|-otl|-onr] [-tc] [-lv] path rnum
Performs queuing operations.
kcdirtest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr]
[-tc] [-lv] path rnum
Performs mixed operations selected at random.
kcdirtest tran [-th num] [-it num] [-hard]
[-oat|-onl|-onl|-otl|-onr] [-tc] [-lv] path rnum
Performs test of transaction.
(and yes, -onl|-onl really is in there twice in that synopsis, i'm not gaslighting you, that's just what the page says π)
So the four modes are giving very different energies:
orderβ Performs in-order tests. Methodical queen. πqueueβ Performs queuing operations. Line up, besties. πΆβοΈwickedβ Performs mixed operations selected at random. Chaos mode, honestly iconic. π₯tranβ Performs test of transaction. Commitment issues? Not her. π
π the options, aka the main characters π
Options feature the following:
-th num: specifies the number of worker threads.-rnd: performs random test.-set: performs setting operation only.-get: performs getting operation only.-getw: performs getting with a buffer operation only.-rem: performs removing operation only.-etc: performs miscellaneous operations.-tran: performs transaction.-oat: opens the database with the auto transaction option.-oas: opens the database with the auto synchronization option.-onl: opens the database with the no locking option.-otl: opens the database with the try locking option.-onr: opens the database with the no auto repair option.-tc: tunes the database with the compression option.-lv: reports all errors.-it num: specifies the number of repetition.-hard: performs physical synchronization.
π and the exit status π
This command returns 0 on success, another on failure. That's it. That's the whole tea. π
lowkey important:-set,-get,-getw,-rem,-etcand-tranonly show up in theordersynopsis,-it numonly shows up forqueue,wickedandtran, and-hardis atran-only thing. so don't come for me when you mix and match, bestie. β¨
π¦ SEE ALSO π¦
kcdirmgr(1)β go say hi to her sister. π
okay that's the whole page!! this came from the Kyoto Cabinet source, dated 2012-05-24, and it was page 1 of the man pages β love that for her. mwah, go run some tests, you got this π«Άβ¨π
π¦ where this page comes from
- alpine 3.24: kyotocabinet-doc 1.2.80-r1 Β· GPL-3.0-or-later
- arch rolling: kyotocabinet 1.2.80-2 Β· GPL-3.0-or-later
- debian bookworm: kyotocabinet-utils 1.2.79-2+b1
- debian trixie: kyotocabinet-utils 1.2.80-2+b1
- fedora 43: kyotocabinet 1.2.80-8.fc43 Β· GPL-3.0-only
- fedora 44: kyotocabinet 1.2.80-9.fc44 Β· GPL-3.0-only
- nixos 26.05: kyotocabinet 1.2.80
- nixpkgs unstable: kyotocabinet 1.2.80
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- ubuntu jammy: kyotocabinet-utils 1.2.79-1
- ubuntu noble: kyotocabinet-utils 1.2.80-1build1
- ubuntu questing: kyotocabinet-utils 1.2.80-2
- ubuntu resolute: kyotocabinet-utils 1.2.80-2build1
- ubuntu stonking: kyotocabinet-utils 1.2.80-2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms