Update 10_oracle_installation.sh
This commit is contained in:
@@ -1,18 +1,18 @@
|
|||||||
# /etc/oratab
|
# /etc/oratab
|
||||||
echo "<h2>/etc/oratab</h2>"
|
echo "<h2>Contenu du fichier /etc/oratab :</h2>"
|
||||||
echo "<pre>"
|
echo "<pre>"
|
||||||
cat /etc/oratab | egrep -v "^$|^#"
|
cat /etc/oratab | egrep -v "^$|^#"
|
||||||
echo "</pre>"
|
echo "</pre>"
|
||||||
|
|
||||||
# inventory.xml
|
# inventory.xml
|
||||||
echo "<h2>Inventory.xml</h2>"
|
echo "<h2>Contenu du fichier Inventory.xml :</h2>"
|
||||||
echo "<pre>"
|
echo "<pre>"
|
||||||
ORA_INVENTORY=$(cat /etc/oraInst.loc | grep inventory_loc | cut -d= -f2)
|
ORA_INVENTORY=$(cat /etc/oraInst.loc | grep inventory_loc | cut -d= -f2)
|
||||||
cat $ORA_INVENTORY/ContentsXML/inventory.xml | grep "<HOME NAME=" | awk '{print $2 " " $3}'
|
cat $ORA_INVENTORY/ContentsXML/inventory.xml | grep "<HOME NAME=" | awk '{print $2 " " $3}'
|
||||||
echo "</pre>"
|
echo "</pre>"
|
||||||
|
|
||||||
# opatch
|
# opatch
|
||||||
echo "<h2>Opatch lspatches</h2>"
|
echo "<h2>Niveau de patch des ORACLE_HOME (opatch lspatches) :</h2>"
|
||||||
cat /etc/oratab | egrep -v "^$|^#" | cut -d: -f2 | sort -u | while read oh
|
cat /etc/oratab | egrep -v "^$|^#" | cut -d: -f2 | sort -u | while read oh
|
||||||
do
|
do
|
||||||
echo "<pre>"
|
echo "<pre>"
|
||||||
|
|||||||
Reference in New Issue
Block a user