01-19-2006
The database counters need to be rebuilt occasionally to compensate for deleted posts, etc. I don't like to do this often because it is resource intensive to rebuilt the entire database index.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
In some machines when i type "clear" it completely clears all the contents on that window but on some it simply scrolls up all the content.
How can i change this? (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies
2. UNIX for Dummies Questions & Answers
Hiya folks,
Just a quick question. When I am ready to download Fedora core 4, do I need to download all 4 ISO files? Or just one, I think myself it would be all 4 but dont want to sit and wait around if I only need to download one. Also after downloading the Iso files, do I burn one file to one... (6 Replies)
Discussion started by: Mr_Pinky
6 Replies
3. UNIX for Dummies Questions & Answers
Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd
5 Replies
4. UNIX for Dummies Questions & Answers
Good day, everyone!
Could anybody explain me the following situation.
If I'm running similar script:
Var="anna.kurnikova"
Var2="Anna Kurn"
echo $Var | tr -t "$Var" "$Var2"
Why the output is :
anna KurniKova
instead of Anna Kurnikova?
:confused:
Thank you in advance for any... (2 Replies)
Discussion started by: Nafanja
2 Replies
5. Solaris
I have printer old about 5 year , but I can not determine which driver to use
output of
ls -al /usr/share/lib/terminfo/h
-rw-r--r-- 1 root bin 961 Jan 22 2005 h1000
-rw-r--r-- 1 root bin 1002 Jan 22 2005 h1420
-rw-r--r-- 1 root bin 1009... (2 Replies)
Discussion started by: solaris_user
2 Replies
6. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
7. Shell Programming and Scripting
Input file
SFSQW 5192.56
HNRNPK 611.486
QEQW 1202.15
ASDR 568.627
QWET 6382.11
SFSQW 4386.3
HNRNPK 100
SFSQW 500
Desired output file
SFSQW 10078.86 3
QWET 6382.11 1
QEQW 1202.15 1
HNRNPK 711.49 2
ASDR 568.63 1
The way I tried: (2 Replies)
Discussion started by: patrick87
2 Replies
8. Shell Programming and Scripting
Hello All,
I have a problem in counting number of process getting run with my current script name..
Here it is
ps -ef | grep $0 | grep -v grep
This display just one line with the PID, PPID and other details when i print it in the script.
But when I want to count the numbers in my... (11 Replies)
Discussion started by: sathyaonnuix
11 Replies
9. Shell Programming and Scripting
hi
i am new to shell scripting.
i was going thru the part option and arguments. on this section i fail to understand the use of exit 0 in below example .
#!/bin/sh
USAGE="Usage: $0 "
case "$1" in
-t) TARGS="-tvf $2" ;;
-c) TARGS="-cvf $2.tar $2" ;;
*) echo "$USAGE"
exit 0
;;
esac... (13 Replies)
Discussion started by: scriptor
13 Replies
LEARN ABOUT HPUX
xrmmergedatabases
XrmMergeDatabases() XrmMergeDatabases()
Name
XrmMergeDatabases - merge the contents of one database into another.
Synopsis
void XrmMergeDatabases(source_db, target_db)
XrmDatabase source_db, *target_db;
Arguments
source_db Specifies the resource database to be merged into the existing database.
target_db Specifies a pointer to the resource database into which the source_db database will be merged.
Description
XrmMergeDatabases() merges source_db into target_db. This procedure is used to combine databases, for example, an application specific
database of defaults and a database of user preferences. If the same specifier is used for an entry in both databases, the entry in the
source_db will replace the entry in the target_db (that is, it overrides
target_db). If target_db is NULL, XrmMergeDatabases() simply stores source_db in it. Otherwise, source_db is destroyed by the merge, but
the database pointed to by target_db is not destroyed. The database entries are merged without changing values or types, regardless of the
locales of the databases. The locale of the target database is not modified.
For more information, see Volume One, Chapter 13, Managing User Preferences.
Structures
XrmDatabase is a pointer to an opaque data type.
See Also
XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmParseCommand(), XrmPutFile-
Database(), XrmPutLineResource(), XrmPutResource(), XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchRe-
source(), XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmString-
ToQuark(), XrmUniqueQuark().
Xlib - Resource Manager XrmMergeDatabases()