How would you remove a semaphore / shared memory whose owner processes have died?

Submitted by: Administrator
ipcrm -sem id ; for semaphores
ipcrm -shm id ; for shared mem
Submitted by: Administrator

Read Online Unix/Linux programming Job Interview Questions And Answers