ottertune/client/driver/oracleScripts/awrOracle.sh

10 lines
132 B
Bash

#!/bin/sh
su - oracle <<EON
oracle
sqlplus / as sysdba <<EOF
@/home/oracle/ottertune/client/driver/autoawr.sql;
quit
EOF
exit
EON