⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcamgr.1

📁 Tokyo Cabinet的Tokyo Cabinet 是一个DBM的实现。这里的数据库由一系列key-value对的记录构成。key和value都可以是任意长度的字节序列,既可以是二进制也可以是字符
💻 1
字号:
.TH "TCATEST" 3 "2009-02-13" "Man Page" "Tokyo Cabinet".SH NAMEtcamgr \- the command line utility of the abstract database API.SH DESCRIPTION.PPThe command `\fBtcamgr\fR' is a utility for test and debugging of the abstract database API and its applications.  `\fIname\fR' specifies the name of a database.  `\fIkey\fR' specifies the key of a record.  `\fIvalue\fR' specifies the value of a record.  `\fIparams\fR' specifies the tuning parameters.  `\fIfunc\fR' specifies the name of a function.  `\fIarg\fR' specifies the arguments of the function.  `\fIdest\fR' specifies the path of the destination file..PP.RS.br\fBtcamgr create \fIname\fB\fR.RSCreate a database file..RE.br\fBtcamgr inform \fIname\fB\fR.RSPrint miscellaneous information to the standard output..RE.br\fBtcamgr put \fR[\fB\-sx\fR]\fB \fR[\fB\-sep \fIchr\fB\fR]\fB \fR[\fB\-dk\fR|\fB\-dc\fR|\fB\-dai\fR|\fB\-dad\fR]\fB \fIname\fB \fIkey\fB \fIvalue\fB\fR.RSStore a record..RE.br\fBtcamgr out \fR[\fB\-sx\fR]\fB \fR[\fB\-sep \fIchr\fB\fR]\fB \fIname\fB \fIkey\fB\fR.RSRemove a record..RE.br\fBtcamgr get \fR[\fB\-sx\fR]\fB \fR[\fB\-sep \fIchr\fB\fR]\fB \fR[\fB\-px\fR]\fB \fR[\fB\-pz\fR]\fB \fIname\fB \fIkey\fB\fR.RSPrint the value of a record..RE.br\fBtcamgr list \fR[\fB\-sep \fIchr\fB\fR]\fB \fR[\fB\-m \fInum\fB\fR]\fB \fR[\fB\-pv\fR]\fB \fR[\fB\-px\fR]\fB \fR[\fB\-fm \fIstr\fB\fR]\fB \fIname\fB\fR.RSPrint keys of all records, separated by line feeds..RE.br\fBtcamgr optimize \fIname\fB \fIparams\fB\fR.RSOptimize a database file..RE.br\fBtcamgr misc \fR[\fB\-sx\fR]\fB \fR[\fB\-sep \fIchr\fB\fR]\fB \fR[\fB\-px\fR]\fB \fIname\fB \fIfunc\fB \fR[\fB\fIarg\fB...\fR]\fB\fR.RSCall a versatile function for miscellaneous operations..RE.br\fBtcamgr map \fR[\fB\-fm \fIstr\fB\fR]\fB \fIname\fB \fIdest\fB\fR.RSMap records into another B+ tree database..RE.br\fBtcamgr version\fR.RSPrint the version information of Tokyo Cabinet..RE.RE.PPOptions feature the following..PP.RS\fB\-sx\fR : the input data is evaluated as a hexadecimal data string..br\fB\-sep \fIchr\fR\fR : specify the separator of the input data..br\fB\-dk\fR : use the function `tcadbputkeep' instead of `tcadbput'..br\fB\-dc\fR : use the function `tcadbputcat' instead of `tcadbput'..br\fB\-dai\fR : use the function `tcadbaddint' instead of `tcadbput'..br\fB\-dad\fR : use the function `tcadbadddouble' instead of `tcadbput'..br\fB\-px\fR : the output data is converted into a hexadecimal data string..br\fB\-pz\fR : do not append line feed at the end of the output..br\fB\-m \fInum\fR\fR : specify the maximum number of the output..br\fB\-pv\fR : print values of records also..br\fB\-fm \fIstr\fR\fR : specify the prefix of keys..br.RE.PPThis command returns 0 on success, another on failure..SH SEE ALSO.PP.BR tcatest (1),.BR tcadb (3),.BR tokyocabinet (3)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -