CBTEST(1) Quick Database Manager CBTEST(1)NAME
cbtest - test cases for QDBM Cabin
SYNOPSIS
cbtest sort [-d] rnum
cbtest strstr [-d] rnum
cbtest list [-d] rnum
cbtest map [-d] rnum
cbtest wicked rnum
cbtest misc
DESCRIPTION
The command `cbtest' is a utility for facility test and performance test. Measure the execution time of the command. This command is used
in the following format. `rnum' specifies the number of records.
cbtest sort [-d] rnum
Perform test of sorting algorithms.
cbtest sort [-d] rnum
Perform test of string locating algorithms.
cbtest list [-d] rnum
Perform writing test of list.
cbtest map [-d] rnum
Perform writing test of map.
cbtest wicked rnum
Perform updating operations of list and map selected at random.
cbtest misc
Perform test of miscellaneous routines.
Options feature the following.
-d : read and show data of the result.
This command returns 0 on success, another on failure.
SEE ALSO qdbm(3), cabin(3)AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
Man Page 2005-06-01 CBTEST(1)
Check Out this Related Man Page
TCUTEST(1) Tokyo Cabinet TCUTEST(1)NAME
tcutest - test cases of the utility API
DESCRIPTION
The command `tcutest' is a utility for facility test and performance test. This command is used in the following format. `rnum' specifies
the number of iterations. `anum' specifies the initial number of elements of array. `bnum' specifies the number of buckets.
tcutest xstr rnum
Perform test of extensible string.
tcutest list [-rd] rnum [anum]
Perform test of array list.
tcutest map [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum [bnum]
Perform test of hash map.
tcutest tree [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
Perform test of ordered tree.
tcutest mdb [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum [bnum]
Perform test of on-memory hash database.
tcutest ndb [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
Perform test of on-memory tree database.
tcutest misc rnum
Perform test of miscellaneous routines.
tcutest wicked rnum
Perform updating operations of list and map selected at random.
Options feature the following.
-rd : perform the reading test also.
-tr : perform the iterator test also.
-rnd : select keys at random.
-dk : use the function `tcxxxputkeep' instead of `tcxxxput'.
-dc : use the function `tcxxxputcat' instead of `tcxxxput'.
-dai : use the function `tcxxxaddint' instead of `tcxxxput'.
-dad : use the function `tcxxxadddouble' instead of `tcxxxput'.
-dpr : use the function `tcxxxputproc' instead of `tcxxxput'.
This command returns 0 on success, another on failure.
SEE ALSO tcumttest(1), tcucodec(1), tcutil(3), tokyocabinet(3)Man Page 2011-02-12 TCUTEST(1)
Hi, I tried locating my book for the keyword to test whether the file is a binary file but I can't find it under test.
Anyone any idea what the key letter is ?:( (8 Replies)
Hi
I have a directory having following three set of files as follows:
test.20060804
test.20060801
test.20060802
I want to list the latest file which is less than 20060803. in this case, it will be test.20060802.
How can i achieve the same? Any pointers to above will be appreciated.
... (7 Replies)
I tried to read some lines from a file and append them to a variable via "while" block like below:
###############
#!/bin/sh
test="ABC_"
while read L1
do
test=$test$L1
echo $test
done < some.txt
echo $test
###############
But the last line keeps print the initial value,... (7 Replies)
file1 contains:
this is a test
this is a test and only a test
this is another test
this is another test and only another only
i'd like my file to look like this:
this is a test.
this is a test and only a test.
this is another test.
this is another test and only another only. (6 Replies)
Hi All,
i have a file test.txt as shown below,
1,test,test111
2,rest,rest222
i want to replace the commas by tab delimiter..,
it should be like,
1 test test111
2 rest rest222
i tried the following code,
sed 's/,/\\t/g' test.txt >> ouptut.txt (9 Replies)
Hi,
I'm writing a part of script to test the files, here is what is looks like:
if
then
do somthing
fi
This script runs well on HPUX. However, when I test it on Linux(redhat), it only works if there is only one file with name A*.TXT. If there's more than one files with... (8 Replies)
Hi
When I run this command:
lsuser -a auditclasses ALL
I got:
user1 auditclasses=general,objects,cron,files,rbac,audit,lvm,aixpert
user2 auditclasses=general,objects,cron,files,rbac,audit,lvm,aixpert
user3 auditclasses=general,objects,cron,files,rbac,audit,lvm,aixpert
user4... (7 Replies)
Hi,
I have a file in the below format.,
test test (10)
to to (25)
see see (45)
and i need the output in the format of
test 10
to 25
see 45
Some one help me? (6 Replies)
Hi guys,
I need to insert @test.com after each entry in my .txt file.
1
2
3
4
1@test.com
2@test.com
3@test.com
4@test.com
Tried to use
cat test.txt |sed 's/$/@test.com/'but it does this instead:
1
@test.com
2 (6 Replies)
I want to add a user like below in Linux. Please assist
Below is the information from /etc/passwd file
---------- Post updated at 02:04 PM ---------- Previous update was at 10:05 AM ----------
Not sure why there is X in shadow file (6 Replies)
Hello,
I need help in logging the error to the error log of one of sort command which i'm using and terminate the process if sort command is not able to execute.
sort -k 1.10,1.20n -o $outputfile $inputfile
how can i achieve the above. (6 Replies)
Hi all
I got test.test.test and need
test.test\.test *
I need the backslash before the last dot in the line
I tried
echo test.test.test | sed 's/\./\\./g'
but it gives me
test\.test\.test
Thanks (7 Replies)
Hi I have data in the below format in two columns in excel which i will copy to notepad.
test as rec1, string
test as rec2, byteint
test as rec3, string
update date as test, datetime
name as tes2 string
I need to add trim function on all the string columns and keep the remaining... (10 Replies)