Unix AIX



What is the best way to clear semaphores and shared memory, sometimes
we run those ipcs and ipcrm commands but some of them do not go away
and the server hangs, i would apprecaite a list of commands for unix
aix, we are on version 6.1

Thanks!!
.