KCGRASSTEST(1)
π KCGRASSTEST π
okay bestie, so this is kcgrasstest, and it lives in the Kyoto Cabinet manual, section 1. it's giving "i stress-test databases for fun" and honestly? iconic.
β¨ NAME β¨
kcgrasstest β the command line interface you use to test the cache tree database π
πΈ DESCRIPTION πΈ
so the command kcgrasstest is a utility for facility test and performance test of the cache tree database. like, you run it to make sure stuff works and also to see how fast it goes. no cap.
you use it in the following formats, and rnum is the number of iterations (yes babe, it stands for run number-ish vibes, but just know: rnum = how many times we go around the block π
).
π¦ order
kcgrasstest order [-th num] [-rnd] [-etc] [-tran] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] rnum
performs in-order tests β¨
π¦ queue
kcgrasstest queue [-th num] [-it num] [-rnd] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] rnum
performs queuing operations π
π¦ wicked
kcgrasstest wicked [-th num] [-it num] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] rnum
performs mixed operations selected at random β chaos mode, main character energy π₯
π¦ tran
kcgrasstest tran [-th num] [-it num] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] rnum
performs test of transaction π«Ά
β¨ OPTIONS β¨
okay here's the full menu of flags, and no i'm not skipping any of them, every single one is here periodt:
-th numβ specifies the number of worker threads π§-rndβ performs random test π²-etcβ performs miscellaneous operations π-tranβ performs transaction π-tcβ tunes the database with the compression option π-bnum numβ specifies the number of buckets of the hash table πͺ£-psiz numβ specifies the size of each page π-pccap numβ specifies the capacity size of the page cache ποΈ-rcdβ use the decimal comparator instead of the lexical one π’-rcldβ use the lexical descending comparator instead of the ascending one π½-rcddβ use the decimal descending comparator instead of the lexical one π’π½-lvβ reports all errors π (all of them. every last one.)-it numβ specifies the number of repetition π
π EXIT STATUS π
this command returns 0 on success, and another value on failure. so like, if you see 0 you ate. if you don't... not the vibe π
lowkey reminder bestie: rnum is the number of iterations, and you literally cannot forget it, it's the last thing on every single one of those lines π
mwah, that's the whole page. this came from the Kyoto Cabinet manual, and the page is dated 2012-05-24. slay, go run some tests π β¨π
π¦ 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