---
name: "tcamttest"
section: "1"
platform: "linux"
package: "tokyocabinet-bin"
version: "1.4.48-15.1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tcamttest"
---

# tcamttest(1)

test cases of the abstract database API

## NAME

tcamttest - test cases of the abstract database API

## DESCRIPTION

The command \`**tcamttest**' is a utility for facility test under multi-thread situation.  This command is used in the following format.  \`*name*' specifies the database name.  \`*tnum*' specifies the number of running threads.  \`*rnum*' specifies the number of iterations.

**tcamttest write** *name* *tnum* *rnum*

Store records with keys of 8 bytes.  They change as \`00000001', \`00000002'...

**tcamttest read** *name* *tnum*

Retrieve all records of the database above.

**tcamttest remove** *name* *tnum*

Remove all records of the database above.

This command returns 0 on success, another on failure.

## SEE ALSO

[**tcatest**(1)](/tcatest/1.md), [**tcamgr**(1)](/tcamgr/1.md), [**tcadb**(3)](/tcadb/3.md), [**tokyocabinet**(3)](/tokyocabinet/3.md)
