table of contents
TCATEST(1) | Tokyo Cabinet | TCATEST(1) |
NAME¶
tcamgr - the command line utility of the abstract database API
DESCRIPTION¶
The command `tcamgr' is a utility for test and debugging of the abstract database API and its applications. `name' specifies the name of a database. `key' specifies the key of a record. `value' specifies the value of a record. `params' specifies the tuning parameters. `func' specifies the name of a function. `arg' specifies the arguments of the function. `dest' specifies the path of the destination file.
tcamgr create name
tcamgr inform name
tcamgr put [-sx] [-sep chr] [-dk|-dc|-dai|-dad] name key value
tcamgr out [-sx] [-sep chr] name key
tcamgr get [-sx] [-sep chr] [-px] [-pz] name key
tcamgr list [-sep chr] [-m num] [-pv] [-px] [-fm str] name
tcamgr optimize name params
tcamgr misc [-sx] [-sep chr] [-px] name func [arg...]
tcamgr map [-fm str] name dest
tcamgr version
Options feature the following.
-sep chr : specify the separator of the input data.
-dk : use the function `tcadbputkeep' instead of `tcadbput'.
-dc : use the function `tcadbputcat' instead of `tcadbput'.
-dai : use the function `tcadbaddint' instead of `tcadbput'.
-dad : use the function `tcadbadddouble' instead of `tcadbput'.
-px : the output data is converted into a hexadecimal data string.
-pz : do not append line feed at the end of the output.
-m num : specify the maximum number of the output.
-pv : print values of records also.
-fm str : specify the prefix of keys.
This command returns 0 on success, another on failure.
SEE ALSO¶
2012-08-18 | Man Page |