title: List named semaphores
body: <p>Is there a way to list all posix-named-semaphores, <code>ipcs</code> doesn't seem to give any info about posix semaphores e.g. <code>ipcs -s</code> output is</p>
  
  <pre><code>------ Semaphore Arrays --------
  key        semid      owner      perms      nsems     
  0xcbc384f8 32769      xxx    600        1
  </code></pre>
  
  <p>Though I have created many posix semaphores and listing `/dev/shm' shows them</p>
  
  <pre><code>-rw------- 1 xxx auniyal 16 2011-08-09 15:59 /dev/shm/sem.mysem
  -rw------- 1 auniyal auniyal 16 2011-08-09 16:29 /dev/shm/sem.mysem1
  </code></pre>