shell

IPCS

ipcs shows the status of SYSV inter process communication facilities.

$ ipcs -s

------ Semaphore Arrays --------
key        semid      owner      perms      nsems     
0xdd3adabd 0          fernape    600        1         

I had forgotten about this command but I remembered it when we ran out of semaphores in our Linux system two days ago.

Other way of getting the same information is to cat the following files:

$ ls /proc/sysvipc
msg        sem        shm

Enjoy!

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*Required Fields