# Kill procedure
tamar_kill()
{
if test $# = 1;
then
SIG=-9;
proc=$1;
else
SIG=$1;
proc=$2;
fi
pid=`ps -ef | cut -b9-999 | $GREP ${GREP_OPT} "$proc" |grep -v grep | grep _ssl | awk '{print $1}'`
for i in $pid;
do
kill $SIG $i
done
#if test $pid ; then kill $SIG $pid; fi
}