Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* getting PID of proc that created semaphores
@ 2002-11-20  9:27 dompie
  0 siblings, 0 replies; only message in thread
From: dompie @ 2002-11-20  9:27 UTC (permalink / raw)


Hi,

is there a way to know what process created a set of semaphores?
Let me explain:
if I type 'ipcs -a', I get a e.g. the following fields:
"
Semaphores:
T      ID        KEY    MODE         OWNER    GROUP  CREATOR   CGROUP
NSEMS   OTIME    CTIME
s       0 0x41440abc --ra-------      root   system     root   system 
   1 16:16:03 16:16:03
s    2049        0xd --ra-ra-ra-      root   daemon     root   daemon 
 303 10:15:41 16:20:42
s    6146      0xcae --ra-ra-ra-      root   daemon     root   daemon 
   1 10:15:37 16:20:54
"

Can I based upon the 'ID' find the process that created the
semaphores?

For shared memory, the CPID is given, but for sems it is not.

Any help much appreciated.

Kris


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

only message in thread, other threads:[~2002-11-20  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20  9:27 getting PID of proc that created semaphores dompie

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