1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
#!/bin/sh export LANG=C echo "________________________________________________________________________" echo "Diagnostic Target system H/W information" echo " " echo " " echo " " echo "1. H/W Platformation" echo "_______________________________________________________" echo " " /usr/sbin/prtconf|grep "System Model" echo " " echo " " echo "2. H/W CPU Infomation" echo "_______________________________________________________" echo " " /usr/sbin/lsdev -Cc processor|wc -l /usr/sbin/bindprocessor -q echo " " echo " " echo "3. H/W MEMORY Infomation" echo "_______________________________________________________" echo " " /usr/sbin/prtconf|grep "Memory Size" echo " " echo " " echo " " echo "________________________________________________________________________" echo "Diagnostic Target system O/S information" echo " " echo " " echo " " echo "4. OS Version Check" echo "_______________________________________________________" /usr/bin/oslevel -r echo " " /usr/sbin/instfix -i|grep ML echo " " echo " " echo "5. OS Disk / Storage Information" echo "_______________________________________________________" /usr/bin/df -gt echo " " echo " " echo " " echo " " echo "________________________________________________________________________" echo "O/S Requirements Check for Oracle DBMS" echo " " echo " " echo "6. O/S Packages Information" echo "_______________________________________________________" /usr/bin/lslpp -l|grep bos.adt.base /usr/bin/lslpp -l|grep bos.adt.lib /usr/bin/lslpp -l|grep bos.adt.libm /usr/bin/lslpp -l|grep bos.perf.libperfstat /usr/bin/lslpp -l|grep bos.perf.perfstat /usr/bin/lslpp -l|grep bos.perf.proctools /usr/bin/lslpp -l|grep xlC.aix50 /usr/bin/lslpp -l|grep xlC.aix61 /usr/bin/lslpp -l|grep xlC.rte echo " " echo " " echo "7. O/S Patch Information" echo "_______________________________________________________" echo " " echo " " /usr/sbin/instfix -a -ivk IY89080 /usr/sbin/instfix -a -ivk IY92037 /usr/sbin/instfix -a -ivk IY94343 /usr/sbin/instfix -a -ivk IZ01060 /usr/sbin/instfix -a -ivk IZ03260 echo " " echo "8. Kernel Parameter Recommendations" echo "_______________________________________________________" echo " " echo " " /usr/bin/cat /etc/security/limits echo " " echo " " echo " " echo "9. Ulimit" echo "_______________________________________________________" /usr/bin/ulimit -a echo " " echo " " echo " " echo "________________________________________________________________________" echo "Database Patches" echo " " echo " " echo "Patch installed in the database is as follows. " echo " " echo " " echo "10. Database Patch Information" echo "_______________________________________________________" $ORACLE_HOME/OPatch/opatch lsinventory -detail echo " " echo " " echo " " echo "_______________________________________________________________________________________________________________________________________" echo " " echo " " |