Thursday, October 4, 2007

Freeing Shared memery in SUN OS

Check the shared memory occupied by the user using following command.
ipcs
This will give you shared memory and semaphore occupied by all users. Look for the PIDs for your users processes.

Kill thos ePIDs using following command

ipcrm –m for memory
ipcrm –s for semaphor

(Courtesy: Akshay)