diff --git a/sql/10b_oracle_installation.sh b/sql/10b_oracle_installation.sh new file mode 100644 index 0000000..1a17394 --- /dev/null +++ b/sql/10b_oracle_installation.sh @@ -0,0 +1,18 @@ +prompt
+host lscpu +prompt+exit + + +# inventory.xml +ORA_INVENTORY=$(cat /etc/oraInst.loc | grep inventory_loc | cut -d= -f2) +cat $ORA_INVENTORY/ContentsXML/inventory.xml >> ${HTML_FILE} + +# opatch +ORA_HOME=$(cat /etc/oratab | egrep -v "^$|^#" | cut -d: -f2 | sort -u) +for OH in ${ORA_HOME} +do + export ORACLE_HOME=${ORA_HOME}; ${ORA_HOME}/OPatch/opatch lspatches >> ${HTML_FILE} +done + diff --git a/sql/19_memory_resize_operations.sql b/sql/19_memory_resize_operations.sql index 279900e..be5a2b4 100644 --- a/sql/19_memory_resize_operations.sql +++ b/sql/19_memory_resize_operations.sql @@ -1,7 +1,7 @@ prompt