Archives of the TeradataForum
Message Posted: Fri, 17 Jan 2003 @ 14:58:35 GMT
Subj: | | Re: TeraJDBC Start/Stop scipts? |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Friday, January 17, 2003 09:43 -->
We had the same issue on an HP/UX box and weren't able to find a way to run jutil in batch mode, so we use this to find and kill the
pid:
PID=`ps -e | grep jserver | grep -v grep | awk '{print $1}'`
echo "PID is" $PID
echo "Stopping jserver"
kill -15 ${PID}
if [ $? -eq 0 ]; then
echo "Stopped successfully"
else
echo "NOTICE: Problem stopping jserver gracefully !"
fi
Anomy
|