-   Programming (
-   -   shared memory & semaphores (

black_man 09-22-2006 02:10 AM

shared memory & semaphores
hi !

i maintain a coupple of solaris workstations on which some users connect remotely and use a graphical application.

the problem is that, after closing the application, the ipcs command shows some shared memory segments not associated with any existing process. also, some semaphores. in the case of the segments, i remove the orphan ones.

the output from ipcs shows the pid of the process that created the segment and the one that last accessed it. in the case of the semaphores, there is no such information.

how can i know which semaphore is orphan in order to remove it ?

thanks !

All times are GMT -5. The time now is 07:34 PM.