tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY ipcs & Q IDs
@ 2001-05-02 11:56 Dermot Paikkos
  0 siblings, 0 replies; only message in thread
From: Dermot Paikkos @ 2001-05-02 11:56 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-02 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-02 11:56 SUMMARY ipcs & Q IDs Dermot Paikkos

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