ottertune/client/driver/oracleScripts/shutdownOracle.sh

12 lines
102 B
Bash
Raw Normal View History

2019-08-23 08:47:19 -07:00
#!/bin/sh
su - oracle <<EON
oracle
sqlplus / as sysdba <<EOF
shutdown immediate
exit
EOF
exit
EON