Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Jan 2003 @ 14:58:35 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


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



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016