重复登录脚本修改02
[oracle@ora10g scripts]$ vi loop_login.sh
#/bin/bash
####################
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=prod
####################
#i=1
for i in 1..10000
do
sqlplus / AS sysdba <<EOF
select x from dual;
exit
EOF
i=i+1
done