Hi,
we have multiple database instances running on solaris server like db1, db2 and db3. Below shown ipcs -pmb shared memory segment output. Using cpid value I want to relate to the database instances db1, db2 and db3. Please let me know how to do this?
Last edited by Don Cragun; 05-09-2014 at 03:34 PM..
Reason: Add missing CODE tags again.
Does anyone know how to set the variables with the ipcs command?
I need to set the following variables:
Shared memory segments
message queues
semaphore arrays
all of these (1 Reply)
I am using SUN 0S 5.7.
My application has a dozen programs running in this machine, each instance of a program having 2 POSIX message queues for itself. Totally around 90 POSIX message queues.
Another small application uses a SYSTEM V shared memory and a message queue.
We face a problem... (1 Reply)
Hi,
I would like to setup a FOR loop script to find out all the existing linux workstation in the network w/ ip address, hostname and linux version.
I created a basic FOR loop script:
for i in $(seq 1 254)
do
echo 10.72.169.$i >> result
ssh -o ConnectTimeout=3 root@10.72.169.$i... (14 Replies)
hi,
I need help with ipcs command on Solaris. What does it do and what are options b,m,o,q does. Here is the sample output of ipcs -oq and ipcs -bm
IPC status from <running system> as of Sun Sep 7 23:07:59 GMT 2008
T ID KEY MODE OWNER GROUP CBYTES QNUM... (4 Replies)
Hi, let say i have 2 log files(they are below) dhcp and radius. What i need is to put the information to a file just from good connections ( Auth: Login OK ) others just ignore. And the information should look like: time, login name, mac, ip, server. But the trouble is that from radius log i get... (10 Replies)
I need some help to write a C++ code that read and write the register of a sequencer. I have to make a code that relate the objects with the physical address but I am a bit confuse. Could someone suggest me how to proceed? in which parts do I split the code?
thanks (1 Reply)
I am trying to run myApplication which allocates Some amount of shared memory at startup.
It failed because not available shared memory are available.
But when i ran,
ipcs -m
it is displaying empty(i.e no shared memory allocated in system.)
Why "ipcs -m" is displaying empty ?
... (5 Replies)
The ipcs -q command output includes a MODE column which tells user if the process is waiting on read or write on the queue. I used this in scripts on many systems (Solaris, AIX, SCO)
a snippet from man
MODE (all)
The facility access modes and flags: The mode consists of
11... (2 Replies)
Discussion started by: migurus
2 Replies
LEARN ABOUT HPUX
dtsearchretrieve
DtSearchRetrieve(library call) DtSearchRetrieve(library call)
NAME
DtSearchRetrieve -- Return clear text of documents from DtSearch databases
SYNOPSIS
#include <Dt/Search.h>
int DtSearchRetrieve(
char *dbname,
DB_ADDR dba,
char **cleartext,
long *clearlen,
int *fzkeyi);
DESCRIPTION
DtSearchRetrieve retrieves the uncompressed document text of a specified DtSearch document listed in the DtSrResult list from a previous
call to DtSearchQuery. It will be successful only in an AusText type database where the documents are stored directly in a database reposi-
tory.
ARGUMENTS
dbname Specifies which database the document is stored in. It can be any one of the database name strings returned from DtSearchInit or
DtSearchReinit. If dbname is NULL, the first database name string is used.
dba The database address of the desired record from the DtSrResult.dba field in a search results list.
cleartext Specifies a pointer where a zero terminated C string containing the document text will be stored. The string is allocated storage
that will be freed by the next call to this function.
clearlen Specifies a pointer where the length of the cleartext string will be stored.
fzkeyi This is a reserved argument. It should always be NULL.
RETURN VALUE
DtSearchRetrieve returns DtSrOK as well as the cleartext string, when document retrieval is completely successful.
It returns DtSrNOTAVAIL if the document text is not available from the database for whatever reason.
Any other return code signifies failure and user messages on the MessageList explain why.
Any API function can also return DtSrREINIT and the return codes for fatal engine errors at any time.
SEE ALSO dtsrcreate(1), DtSrAPI(3), DtSearchQuery(3), DtSearch(5)
DtSearchRetrieve(library call)