tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dermot Paikkos <dermot () sciencephoto ! com>
To: tru64-unix-managers
Subject: SUMMARY ipcs & Q IDs
Date: Wed, 02 May 2001 11:56:41 +0000	[thread overview]
Message-ID: <102653647621618.tru64-unix-managers.marc@archive.invalid> (raw)

Thanx to Paul Sands and Regine Polnick for pointing what should 
have been obvious to me i if had really read the man page:
ipcs -p gives me
T   ID        KEY    MODE         OWNER    GROUP LSPID LRPID
q   0 0x41001a74 --rw-------      root   system     3   487
q   1 0x16a93 --rw-rw-rw-      root   system   551   588
q   258 0x1e530 --rw-rw-rw-      root   daemon   689 12599
q   3 0x801 --rw-rw-rw-      root   daemon   654     0

  Its the LSPID number that ties the Q id with a process. So ps -
    e|grep 551 shows me the process to Qid relationship I was after.

  
Hi Managers,
Is there some way to identify the running process with the Q ID or 
Key?  Our database has crashed several times due to its removal 
from the Q and I am trying to determine what else is in the Q, or 
indeed what "interprocess communication" is. 

OUTPUT from IPCS:
Message Queues:
T      ID        KEY    MODE         OWNER    GROUP
q       0 0x41001a74 --rw-------      root   system
q       1 0x16a93 --rw-rw-rw-      root   system
q     258 0x1e530 --rw-rw-rw-      root   daemon
q       3 0x801 --rw-rw-rw-      root   daemon

Shared Memory:
T      ID        KEY    MODE         OWNER    GROUP
m       0 0x3253bc5c --rw-rw-rw-      root   system
m       1 0x280267 --rw-r--r--      root   system

Semaphores:
T      ID        KEY    MODE         OWNER    GROUP
s       0 0x41001a74 --ra-------      root   system
s       1 0x280269 --ra-ra-ra-      root   system


SYSINFO: Tur64 4.0D @ DEC Alpha 3000/400
------- End of forwarded message -------
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

                 reply	other threads:[~2001-05-02 11:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox