tcamttest (1) - Linux Man Pages
tcamttest: test cases of the abstract database API
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.