c-icap-mkbdb(8) System Manager's Manual c-icap-mkbdb(8)NAME
c-icap-mkbdb - simple ICAP clientutility to create Berkeley DB lookup tables
SYNOPSIS
c-icap-mkbdb [ -d debug_level ] [ -i file.txt ] [ -o file.db ] [ -t string|int|ip ] [ -v string|int|ip ] [ --dump ]
DESCRIPTION
c-icap-mkbdb utility can be used to create Berkeley DB databases which can be used as lookup tables by the c-icap server.
OPTIONS -d debug_level
The debug level
-i file.txt
The file contains the data (required). The line format of this file must be:
key: value1, value2, ....
-o file.db
The database to be created
-t string|int|ip
The type of the key. Select string for string keys, int for integer keys or ip for using IP addresses as keys. The "string" is the
default.
-v string|int|ip
The type of the values. The "string" is the default.
--dump Do not update the database just dump it to the screen.
EXAMPLES
c-icap-mkbdb -o keys -i keys.txt
It builds the keys Berkeley DB database, using string type for keys and values.
c-icap-mkbdb -o keys --dump
Dump the contents of the keys database
SEE ALSO c-icap(8)c-icap-client(8)c-icap-stretch(8)c-icap-config(8)c-icap-libicapapi-config(8)AUTHOR
Tsantilas Christos
c_icap 0.1.6 c-icap-mkbdb(8)
Check Out this Related Man Page
icapd(1M)icapd(1M)NAME
icapd - Instant Capacity (iCAP) daemon.
SYNOPSIS
icapd
DESCRIPTION
The (formerly ) daemon is installed and started as part of the Instant Capacity software on all potential iCAP systems, and respawns itself
if killed. If this daemon is not running, other Instant Capacity commands fail. The operations this daemon performs are vital in keeping
the complexwide view of the Instant Capacity state current. The following entry is added to /etc/inittab in order to have start and
respawn itself:
icap:23456:respawn:/usr/lbin/icapd # Instant Capacity daemon
This daemon is not started on hardware that is not supported under the Instant Capacity program. If is installed and running on a system
with Instant Capacity components present (cores, cells, or memory), it sends daily asset report email to HP (if so configured), tracks tem-
porary capacity, sends exception notifications, and maintains a healthy Instant Capacity state.
For more information about the functions that performs for Instant Capacity systems, see the located at /usr/share/doc/icapUserGuide.pdf.
The daemon reports errors via (see syslog(3C)). Exception notification email is sent to root and to the system contact email address (con-
figured via the command (see icapmodify(1M)).
The daemon performs periodic operations based on the time of day. The daemon is spawned by and gets its time zone specification from the
/etc/default/tz file. By default, the time zone specified in /etc/default/tz is EST5EDT. You can specify which time zone the daemon uses
to interpret its current time by modifying the /etc/default/tz file. For details about the time zone format, see environ(5). A restart of
the daemon is required before the new time zone value takes effect (that is, kill the process).
AUTHOR
was developed by HP.
SEE ALSO icapmodify(1M), icapstatus(1M), icapnotify(1M), icapmanage(1M), icap(5).
icapd(1M)
Hi there!
I have 150 txt files named chunk1, chunk2, ........., chunk150. I have a second file called string.txt with more than 1000 unique strings, house, dog, cat ... I want to know which command I should use to count how many times each string appears in the 150 files.
I have tried... (4 Replies)
Hi there,
I'd like to replace STRING_ZERO in FILE_ZERO.txt with the value of VALUEi-th by using something like that:
VALUE1=1000
VALUE2=2000
VALUE3=3000
for((i=1;i<=3;i++));
do
sed "s/STRING_ZERO/$VALUE'$i'/" FILE_ZERO.txt >> FILE_NEW.txt;
done
but it doesn't work...
Any help... (9 Replies)
I have many Gaussian output files, which contain a string start from "HF=" but follws the different values. I'm trying to get this exact string from these txt files.
example 1,
2.524075,-0.563322,-1.285286\H,0,-2.544438,-0.678834,1.199166\H,0,2.18
... (7 Replies)
Hi there
I have a script that runs but it outputs everything onto the screen instead of a file.
I've tried using the > outputfile.txt however all it does is dump the output to the screen and creates an outputfile.txt but doesn't put anything in that file.
Any help would be appreciated
... (6 Replies)
Could anyone very kindly help me a simple way to perform the - perhaps - very trivial task of writing the name of a file as first line of that file which is in txt format?
And would be possible to do this recursively for some thousands files in the XY directory?
And, again, add to the simple... (3 Replies)
Dear all,
I have a file like below. I want to replace all the '.' in the 3rd column with 'NA'. I don't know how to do that. Anyone has an iead? Thanks a lot!
8 70003200 21.6206
9 70005700 17.5064
10 70002200 .
11 70005100 19.1001
17 70008000 16.1970
32 70012400 26.3465
33... (9 Replies)
I am using unix and I want to bind a key so that when I press it, text appears in the command line:
Eg: Press '=' and 'verbatim18 centres_show' appears.
Can anyone help me? I have tried as many combinations as I have found on the internet, but it just keeps saying either 'Command not... (33 Replies)
is it possible to count the number of keys based on state and cell and output it as a simple matrix.
Ex: cell1-state1 has 2 keys
cell3-state1 has 4 keys.
Note: Insert 0 if no data available.
input
key states cell
key1 state1 cell1
key1 state2 cell1
key1 ... (21 Replies)
hey I am new to shell scripting please help me.
we have to create 2 or 3 tables in the file.txt format i.e.,
file name like ABC.txt, abs1.txt....
Name Empid Mangerid Adrress
abc 1 11 hyd
efg 2 11 hyd
like... (5 Replies)
Hi, i'd like to know the command line to create a dump file from a non particular table, o database. I'm working with RedHat environment.
Ayn idea would be helpful.
Thanks. (3 Replies)
Bashers, thanks for taking the time to look at my post.
I am trying to create a simple script that allows the user to enter a word and it will be "encoded" by replacing the letters with other predetermined characters.
I am attempting to run one long sed command through a text file that... (15 Replies)
Hi all, the value in the following file is just an example. It could be a different value/network addresses.
Here is my example of initial output in a file name net.txt
Initial Output, net.txt
The goal is to produce the following format which is to convert from CIDR to Netmask... (6 Replies)
Hello,
(I'm a shell beginner)
how can I sum the bold values of the following txt-file (values.txt) with bash shell. The result of the sum should be written in a new txt file (sum.txt):
...
Thanks in advance (5 Replies)
What I need is to remove the text from Location_file.txt from each line matching all entries from Remove_location.txt
Location_file.txt
FlowPrePaid, h3nmg1cm2,Jamaica_MTAImageFileFlowPrePaid,h0nmg1cm1, Flow_BeatTest,FlowRockTest
FlowNewTest,FlowNewTest,h0nmg1cm1
PartiallySubscribed,... (3 Replies)