cat /var/opt/oracle/oratab | grep -v '^#'| grep -v 'ASM' | awk -F':' '{print $1}' | sed '/^$/d' |while read line
do
echo ----------------------------------------------------------
$ORACLE_HOME/bin/srvctl config database -d $line
echo --------------------------------------------------------
done
Aucun commentaire:
Enregistrer un commentaire