#chmod u+s obj
# mkdir /sybase/auto
#chmod
#chmod g+t /sybase/atuo
#chown sybase:sybase /sybase/atuo
#cd /sybase/atuo
trap
for pid in ` echo
select distinct blocked from master
where blocked>
do
echo
isql
password
kill $pid
go
EOF
done
echo
上述內容會處理所有阻塞的進程
[
From:http://tw.wingwit.com/Article/program/Sybase/201311/11216.html