KCHASHTEST(1)
β¨ KCHASHTEST β¨
okay bestie, gather round, because this is the kchashtest manual page β a whole command-line interface (that's the (1) section, iykyk) for putting the file hash database through its paces π
πΈ NAME πΈ
kchashtest β command line interface to test the file hash database π§
π DESCRIPTION π
So basically kchashtest is the utility you use for facility test and performance test of the file hash database. It's giving lab coat but make it cute. π₯Όβ¨
You run it in the following format, no cap: path specifies the path of a database file, and rnum specifies the number of iterations. Slay.
kchashtest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc]
[-tran] [-oat|-onl|-onl|-otl|-onr] [-apow num] [-fpow num] [-ts]
[-tl] [-tc] [-bnum num] [-msiz num] [-dfunit num] [-lv] path rnum
Performs in-order tests.
kchashtest queue [-th num] [-it num] [-rnd]
[-oat|-onl|-onl|-otl|-onr] [-apow num] [-fpow num] [-ts] [-tl]
[-tc] [-bnum num] [-msiz num] [-dfunit num] [-lv] path rnum
Performs queuing operations.
kchashtest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr]
[-apow num] [-fpow num] [-ts] [-tl] [-tc] [-bnum num] [-msiz num]
[-dfunit num] [-lv] path rnum
Performs mixed operations selected at random.
kchashtest tran [-th num] [-it num] [-hard]
[-oat|-onl|-onl|-otl|-onr] [-apow num] [-fpow num] [-ts] [-tl]
[-tc] [-bnum num] [-msiz num] [-dfunit num] [-lv] path rnum
Performs test of transaction.
so the four modes are the moment, fr fr:
orderβ performs in-order tests πqueueβ performs queuing operations π¦wickedβ performs mixed operations selected at random π (the name ate and left no crumbs)tranβ performs test of transaction π
β¨ OPTIONS β¨
the options are serving the following, bestie:
-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-apow numβ specifies the power of the alignment of record size-fpow numβ specifies the power of the capacity of the free block pool π-tsβ tunes the database with the small option-tlβ tunes the database with the linear option-tcβ tunes the database with the compression option-bnum numβ specifies the number of buckets of the hash table πͺ£-msiz numβ specifies the size of the memory-mapped region-dfunit numβ specifies the unit step number of auto defragmentation π§Ή-lvβ reports all errors π’-it numβ specifies the number of repetition π-hardβ performs physical synchronization πͺ
lowkey important: this command returns 0 on success, and another value on failure. so like, check your exit status bestie, don't get caught lacking π
π SEE ALSO π
kchashmgr(1) β go read that one too, it's the sister page and she also eats π
and that's the whole page, periodt. π β¨
this was the Kyoto Cabinet KCHASHTEST(1) man page, sourced as Man Page, dated 2012-05-24, filed under KCHASHTEST(1) β mwah, go run some tests, you're gonna do great π«Άπ
π¦ 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