Tuesday, May 6, 2008

Clearing all unwanted semaphores — Memory Tweak

for i in `ipcs | tail -80 |head -75 |cut -d ‘ ‘ -f2`; do ipcrm sem $i; done

ipcrm removes System V interprocess communication (IPC) objects and associated data structures from the system.’ as per the man pages.

No comments: