#!/usr/bin/ksh #set -xv if [ "x-$1" = "x-" ];then echo " " echo " " echo " Usage : ks SID " echo " " echo " Use 'sl' or 'wss' to get the SID to kill " echo " " echo " " exit fi if [ "x-$2" = "x-" ];then column_name_long=30 else column_name_long=$1 fi HOSTNAME=`hostname` TO_KILL=$1 SBINS=$SBIN/scripts . $SBIN/scripts/passwd.env . ${GET_PASSWD} if [ "x-$CONNECT_STRING" = "x-" ];then echo "could no get a the password of $S_USER" exit 0 fi ( sqlplus -s "$CONNECT_STRING" <