5 replies
by buckle
by jay allen
Welcome to HP-UX, i have this problem too with other programs such as mqseries. The best way to really kill it is to run a script using th ipcs command to search and clear out the memory. Here is our example:
echo ' '
echo ' '
echo '#########################################################'
echo '### ###'
echo '### WARNING .... YOU ARE ABOUT TO REMOVE ###'
echo '### .... ALL MQM RESOURCES. ###'
echo '#########################################################'
echo ' '
echo 'Do you wish to continue (no / yes) ? '
read ANSWER
if [ $ANSWER = 'yes' ]
then
echo ' '
echo 'Please Wait ..... Removing all MQM IPC resources ..... '
exec ipcrm `ipcs |grep ' mqm' |sed 's/^/-/;s/^-s/-s /;s/^-m/-m /;s/ */ /' |cut -f1-2 -d ' '`
fi
I hope this helps....Good Luck...
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending