k2hcompress - Man Page

Utility Tool for K2HASH

Synopsis

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

Description

k2hcompress is a tool for compressing K2HASH file. This tool can compress the file when another processes are using it.(but now it is unsupported mode.)

Options

FILE

specify k2hash file path

-h

display help

-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

K2HDBGMODE environment sets debugging message level as same as -g option. The value is set as SILENT, ERR, WAN or INFO. When k2hlinetool catches SIGUSR1 signal, the debugging message level is bumpup. The level is changed as order by SILENT, ERR, WAN, INFO, SILENT...

2HDBGFILE

K2HDBGFILE environment sets the file which is debugging message, this is as same as -glog option.

See Also

k2hash(1), k2hlinetool(1), k2hreplace(1), k2htouch(1), k2hedit(1)

Bugs

Please report owner and committers.

Author

k2hash has been written by Takeshi Nakatani <nakatani@yahoo-corp.jp>.

Referenced By

k2hash(1), k2hbench(1), k2hedit(1), k2himport(1), k2hlinetool(1), k2hreplace(1), k2htouch(1).

February 2014 K2HASH NoSQL(KVS) Library