ipcs functionality for posix semaphores

From: bill pursell (bill.pursell_at_gmail.com)
Date: 11/29/05


Date: 28 Nov 2005 21:19:02 -0800

I can use ipcs to list all of the sys V semaphores in use on the
system. How do I get a list of all the posix semaphores (those opened
with shm_open() instead of semget())?



Relevant Pages

  • Re: threads and sleep?
    ... > Is SYS V shared memory a totalyl stupid way of doing distributed locks ... Sys V semaphores would seem to be a more logical choice. ...
    (comp.lang.python)
  • Re: process safe communication
    ... SunOs 5.7 - POSIX semaphores and shared memory supported, ... >> queue no longer empty) and Mutexes. ...
    (comp.unix.programmer)
  • Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests
    ... > anything that makes heavy use of SYSV IPCs... ... > Semaphores come in sets containing one or more semaphore. ... I first shut down postgres, then ran the test, and everything worked ... `n+1' trivial tasks take twice as long as `n' trivial tasks. ...
    (freebsd-questions)
  • Re: Why is sem_wait() not undone when my program crashes?
    ... no. POSIX semaphores don't reset what you have done ... You might consider using SysV semaphores, ... If file locking is slower or faster I can't tell. ... file locks are actually faster. ...
    (comp.os.linux.development.apps)
  • Re: Semaphore tutorial?
    ... I've read the description in Stevens' ... > Unix Network Programming several times, ... > versions of message queues, semaphores, and shared memory, in addition to ... Given that the posix semaphores look a whole lot ...
    (comp.unix.programmer)