ottertune/client/driver/oracleScripts/shutdownOracle.sh

12 lines
102 B
Bash

#!/bin/sh
su - oracle <<EON
oracle
sqlplus / as sysdba <<EOF
shutdown immediate
exit
EOF
exit
EON