K2HCOMPRESS(1)

πŸ“¦ version 1.0.101, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– NAME πŸ’–

okay so bestie, meet K2HCOMPRESS β€” she's the Utility Tool for K2HASH ✨ that's it, that's the name, short and iconic.


🌸 SYNOPSIS 🌸

k2hcompress [ -replace | -direct | -print ] [ OPTIONS ] FILE

like… pick one of those three modes, throw in whatever OPTIONS you need, and hand her a FILE. slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

so k2hcompress is a tool for compressing a K2HASH file, periodt. and here's the gag: she can compress the file while other processes are still using it β€” main character energy, truly β€” but ngl that mode is now unsupported. so don't come for her if you try it, okay?

πŸ’€ fr fr, the "compress while other processes are using it" thing is unsupported now. no cap.

πŸŽ€ OPTIONS πŸŽ€

  • FILE β€” specify k2hash file path. yes she needs to know which file, obviously πŸ’…
  • -h β€” display help. your bestie when you're lost 🫢
  • -replace β€” make and replace temporary k2hash file for compressing ✨
  • -direct β€” compress directly k2hash file mapped on memory πŸ”₯
  • -print β€” only print area information of k2hash file πŸ‘€
  • -mask [BIT COUNT] β€” specify bit mask count for k2hash data
  • -cmask [BIT COUNT] β€” specify collision bit mask count for k2hash data
  • -elementcnt [ELEMENT COUNT] β€” specify element count for each k2hash table
  • -pagesize [BYTE] β€” specify pagesize for each k2hash internal data
  • -ext [LIBRARY PATH] β€” specify extension library for hash function 🧚
  • -g [ERR | WAN | INFO] β€” set debugging level; k2hlinetool displays debugging message for itself

🌈 ENVIRONMENT 🌈

  • K2HDBGMODE β€” this env var sets the debugging message level, same as the -g option. the value is set as SILENT, ERR, WAN or INFO. and when k2hlinetool catches the SIGUSR1 signal, the debugging message level gets bumpup ⬆️. the level changes in this order: SILENT, ERR, WAN, INFO, SILENT... and around and around we go πŸ’«
  • 2HDBGFILE β€” this env var sets the file which is the debugging message. it's the same as the -glog option.

⭐ SEE ALSO ⭐

go read those too, iykyk πŸ’œ


πŸ™ˆ BUGS πŸ™ˆ

Please report owner and committers. (not me, i'm just the messenger 😭)


πŸ‘‘ AUTHOR πŸ‘‘

k2hash has been written by Takeshi Nakatani <ggtakec@gmail.com>. 🫢


k2hash, February 2014 β€” that's the whole vibe, bestie. now go compress something πŸ’…βœ¨

πŸ“¦ where this page comes from