Rechercher une page de manuel
tcamgr
Langue: en
Version: 113755 (mandriva - 01/05/08)
Section: 1 (Commandes utilisateur)
Sommaire
NAME
tcamgr - the command line utility of the abstract database APIDESCRIPTION
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.
tcamgr create name-
- Create a database file.
tcamgr inform name- Print miscellaneous information to the standard output.
tcamgr put [-sx] [-dk|-dc] name key value- Store a record.
tcamgr out [-sx] name key- Remove a record.
tcamgr get [-sx] [-px] [-pz] name key- Print the value of a record.
tcamgr list [-m num] [-pv] [-px] name- Print keys of all records, separated by line feeds.
tcamgr version- Print the version information of Tokyo Cabinet.
Options feature the following.
- -sx : input data is evaluated as a hexadecimal data string.
-dk : use the function `tchdbputkeep' instead of `tchdbput'.
-dc : use the function `tchdbputcat' instead of `tchdbput'.
-px : 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 record also.
This command returns 0 on success, another on failure.
SEE ALSO
tcatest(1), tcadb(3), tokyocabinet(3)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre