To view the shares memory and semaphores in Unix you can type the command:This shows you the following:Code:ipcs
Now you can release the semaphore by typingCode:IPC status from <running system> as of Mon Feb 17 14:24:39 CET 2003 T ID KEY MODE OWNER GROUP Message Queues: Shared Memory: m 14021 0x784a7d00 --rw-rw-rw- smtscd helpdsks m 82 0 --rw-rw-rw- root root Semaphores: s 1900563 0x784a7d00 --ra-ra-ra- smtscd helpdsks s 80 0 --ra-ra-ra- root root
or the shared memory withipcrm -s 1900563ipcrm -m 14021


Reply With Quote

Bookmarks