table of contents
TCRMGR(1) | Tokyo Tyrant | TCRMGR(1) |
NAME¶
tcrmgr - the command line utility of the remote database APIDESCRIPTION¶
The command ` tcrmgr' is a utility for test and debugging of the remote database API and its applications. ` host' specifies the host name of the server. ` key' specifies the key of a record. `value' specifies the value of a record. ` params' specifies the tuning parameters. ` dpath' specifies the destination file. `func specifies the name of the function. ` arg' specifies the arguments of the function. ` file' specifies the input file. `upath' specifies the update log directory. ` mhost' specifies the host name of the replication master. ` url' specifies the target URL.Print miscellaneous information to the standard
output.
Store a record.
Remove a record.
Print the value of a record.
Print keys and values of multiple records.
Print keys of all records, separated by line feeds.
Call a script language extension function.
Synchronize updated contents with the database
file.
Optimize the database file.
Remove all records.
Copy the database file.
Call a versatile function for miscellaneous
operations.
Store records of TSV in each line of a file.
Restore the database with update log.
Set the replication master.
Replicate the update log.
Fetch the resource of a URL by HTTP.
Print the version information of Tokyo Tyrant.
-port num : specify the port number.
-st : print miscellaneous status data.
-sx : input data is evaluated as a hexadecimal data string.
-sep chr : specify the separator of the input data.
-dk : use the function `tcrdbputkeep' instead of `tcrdbput'.
-dc : use the function `tcrdbputcat' instead of `tcrdbput'.
-dai : use the function `tcrdbaddint' instead of `tcrdbput'.
-dad : use the function `tcrdbadddouble' instead of `tcrdbput'.
-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 records also.
-fm str : specify the prefix of keys.
-xlr : perform record locking.
-xlg : perform global locking.
-mnu : omit the update log.
-nr : use the function `tcrdbputnr' instead of `tcrdbput'.
-sc : normalize keys as lower cases.
-mport num : specify the port number of the replication master.
-ts num : specify the beginning time stamp.
-rcc : check consistency of replication.
-sid num : specify the self server ID.
-ph : print human-readable data.
-ah name value : add a request header.
-ih : output response headers also.
If the port number is not more than 0, UNIX domain socket is used and the path
of the socket file is specified by the host parameter. This command returns 0
on success, another on failure.
SEE ALSO¶
ttserver(1), ttultest(1), ttulmgr(1), tcrtest(1), tcrmttest(1), ttutil(3), tcrdb(3)2010-01-20 | Man Page |