kcutiltest (1) Linux Manual Page
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.
kcutiltest cond[-thnum][-ivnum]rnum- Performs test of condition variable primitives.
kcutiltest para[-thnum][-ivnum]rnum- Performs test of parallel processing.
kcutiltest file[-thnum][-rnd][-msiznum]pathrnum- Performs test of the file system abstraction.
kcutiltest lhmap[-rnd][-bnumnum]rnum- Performs test of doubly-linked hash map.
kcutiltest thmap[-rnd][-bnumnum]rnum- Performs test of memory-saving hash map.
kcutiltest talist[-rnd]rnum- Performs test of memory-saving array list.
kcutiltest miscrnum- Performs test of miscellaneous mechanisms.
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)
