kcutiltest(1)
NAME
kcutiltest – command line interface to test the utility functions
DESCRIPTION
The command `kcutiltest‘ is a utility for facility test and performance test of the utility functions. This command is used in the following format. `rnum‘ specifies the number of iterations. `path‘ specifies the path of a file.
kcutiltest mutex[-thnum][-ivnum]rnum- Performs test of lock primitives.
- Performs test of condition variable primitives.
- Performs test of parallel processing.
- Performs test of the file system abstraction.
- Performs test of doubly-linked hash map.
- Performs test of memory-saving hash map.
- Performs test of memory-saving array list.
- Performs test of miscellaneous mechanisms.
kcutiltest cond [-th num][-iv num]rnum
kcutiltest para [-th num][-iv num]rnum
kcutiltest file [-th num][-rnd][-msiz num]pathrnum
kcutiltest lhmap [-rnd][-bnum num]rnum
kcutiltest thmap [-rnd][-bnum num]rnum
kcutiltest talist [-rnd]rnum
kcutiltest misc rnum
Options feature the following.
-thnum : specifies the number of worker threads.-ivnum : specifies the interval between iterations.-rnd: performs random test.-msiznum : specifies the size of the memory-mapped region.-bnumnum : specifies the number of buckets of the hash table.
This command returns 0 on success, another on failure.
SEE ALSO
kcutilmgr(1)