KCHASHMGR(1)
π KCHASHMGR(1) π
okay so bestie, welcome to kchashmgr, section 1 of the Kyoto Cabinet manual β¨ she's the command line interface to manage the file hash database, and honestly? she's giving utility-chic π
β¨ NAME β¨
kchashmgr β command line interface to manage the file hash database. periodt. π«Ά
π DESCRIPTION π
The command kchashmgr is a utility for test and debugging of the file hash database and its applications, no cap. Let's get the vocabulary straight first, because she uses these words everywhere:
pathspecifies the path of a database file.keyspecifies the key of a record.valuespecifies the value of a record.filespecifies the input/output file.
π the subcommands, iykyk π
kchashmgr create [-otr] [-onl|-otl|-onr] [-apow num] [-fpow num] [-ts] [-tl] [-tc] [-bnum num] pathβ Creates a database file. β¨ brand new baby database, born today β¨kchashmgr inform [-onl|-otl|-onr] [-st] pathβ Prints status information.kchashmgr set [-onl|-otl|-onr] [-add|-app|-rep|-inci|-incd] [-sx] path key valueβ Stores a record.kchashmgr remove [-onl|-otl|-onr] [-sx] path keyβ Removes a record.kchashmgr get [-onl|-otl|-onr] [-rm] [-sx] [-px] [-pz] path keyβ Prints the value of a record.kchashmgr list [-onl|-otl|-onr] [-max num] [-rm] [-sx] [-pv] [-px] path [key]β Prints keys of all records, separated by line feeds.kchashmgr clear [-onl|-otl|-onr] pathβ Removes all records of a database.kchashmgr import [-onl|-otl|-onr] [-sx] path [file]β Imports records from a TSV file.kchashmgr copy [-onl|-otl|-onr] path fileβ Copies the whole database.kchashmgr dump [-onl|-otl|-onr] path [file]β Dumps records into a snapshot file.kchashmgr load [-otr] [-onl|-otl|-onr] path [file]β Loads records from a snapshot file.kchashmgr defrag [-onl|-otl|-onr] pathβ Performs defragmentation. she's doing a little cleanup, self-care era π§kchashmgr setbulk [-onl|-otl|-onr] path key value ...β Store records at once.kchashmgr removebulk [-onl|-otl|-onr] [-sx] path key ...β Remove records at once.kchashmgr getbulk [-onl|-otl|-onr] [-sx] [-px] path key ...β Retrieve records at once.kchashmgr check [-onl|-otl|-onr] pathβ Checks consistency. vibe check on your database fr fr π
π the options, bestie π
Options feature the following. every single one, we're not skipping anybody, she deserves her moment π
-otrβ opens the database with the truncation 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.-stβ prints miscellaneous information.-addβ performs adding operation.-appβ performs appending operation.-repβ performs replacing operation.-inciβ performs integer increment operation.-incdβ performs real number increment operation.-sxβ the input data is evaluated as a hexadecimal data string.-rmβ removes the record.-pxβ the output data is converted into a hexadecimal data string.-pzβ does not append line feed at the end of the output.-max numβ specifies the maximum number of shown records.-pvβ prints values of records also.
π exit status π
This command returns 0 on success, another on failure. that's it, that's the whole story π
πΈ SEE ALSO πΈ
and that's the tea, bestie β this page came from Kyoto Cabinet, dated 2012-05-24, filed under KCHASHMGR(1) in section 1 of the manual π go forth and manage that hash database, you absolute icon πβ¨
π¦ 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