tcamttest (1) - Linux Manuals

tcamttest: 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 nametnumrnum
Store records with keys of 8 bytes. They change as `00000001', `00000002'...

tcamttest read nametnum
Retrieve all records of the database above.

tcamttest remove nametnum
Remove all records of the database above.

This command returns 0 on success, another on failure.

SEE ALSO

tcatest(1), tcamgr(1), tcadb(3), tokyocabinet(3)