Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cbtest(1) [debian man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How do I test whether that is a binary file?

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)
Discussion started by: scmay
8 Replies

2. Shell Programming and Scripting

Sorting prob

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)
Discussion started by: Vikas Sood
7 Replies

3. UNIX for Dummies Questions & Answers

Sed command not working

Hi, I have a test file as follows: 1G102119 ^ AA1179291 ^ 06oct2006 09:50:35^ 73.4^ 2^ 13^ 0^ 1493 1G102119 ^ AA1179291 ^ 06oct2006 09:49:45^ 73.4^ 2^ 13^ 0^ 1493 1G102119 ^ AA1179291 ^ 06oct2006 09:48:58^ 73.4^ 2^ 17^ 0^ 2 1G102119 ... (9 Replies)
Discussion started by: shashi_kiran_v
9 Replies

4. Shell Programming and Scripting

a weird issue with "while" block

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)
Discussion started by: sleepy_11
7 Replies

5. UNIX for Dummies Questions & Answers

insert period at the end of each line

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)
Discussion started by: tjmannonline
6 Replies

6. UNIX for Dummies Questions & Answers

Replacing Comma by Tab

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)
Discussion started by: Serious Sam
9 Replies

7. Shell Programming and Scripting

Some problem about file test

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)
Discussion started by: phantandy
8 Replies

8. Shell Programming and Scripting

sort question

Hi all. HPUX - posix shell - script question Here's my data: f1 f2 f3 f4 f5 f6 |02/12/09|12:33PM|3|Oceanview |OVT #1| VISA/MC |02/12/09|12:14PM|3|Oceanview |OVT #1| VISA/MC |02/12/09|09:13AM|4|Oceanview |OVT #1| VISA/MC ... (8 Replies)
Discussion started by: lyoncc
8 Replies

9. Shell Programming and Scripting

greping $2 into a list

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)
Discussion started by: iga3725
7 Replies

10. Shell Programming and Scripting

Removing duplicates

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)
Discussion started by: imdadulla
6 Replies

11. Shell Programming and Scripting

Inserting text with SED

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)
Discussion started by: spirm8
6 Replies

12. Linux

Add a user with no password

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)
Discussion started by: prash358
6 Replies

13. UNIX for Dummies Questions & Answers

Error handling for sort command

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)
Discussion started by: mehulleo
6 Replies

14. Shell Programming and Scripting

sed add special character

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)
Discussion started by: stinkefisch
7 Replies

15. Shell Programming and Scripting

Shell script to solve query

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)
Discussion started by: pisikar
10 Replies