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 106 107 108 109 110 111 |
#!/bin/sh export LANG=C echo "________________________________________________________________________" echo "Diagnostic Target system H/W information" echo " " echo " " echo " " echo "1. H/W Platformation" echo "_______________________________________________________" echo " " /usr/platform/`uname -i`/sbin/prtdiag -v |grep "System Configuration" /sbin/prtdiag -v |grep "System Configuration" /usr/sbin/prtdiag -v |grep "System Configuration" echo " " echo " " echo "2. H/W CPU Infomation" echo "_______________________________________________________" echo " " /usr/sbin/psrinfo -pv|grep processor|wc -l echo " " echo " " echo "3. H/W MEMORY Infomation" echo "_______________________________________________________" echo " " /usr/sbin/prtconf|grep Mem echo " " echo " " echo " " echo "________________________________________________________________________" echo "Diagnostic Target system O/S information" echo " " echo " " echo " " echo "4. OS Version Check" echo "_______________________________________________________" /usr/bin/cat /etc/release echo " " echo " " echo "5. OS Disk / Storage Information" echo "_______________________________________________________" /bin/df -k echo " " echo " " echo " " echo " " echo "________________________________________________________________________" echo "O/S Requirements Check for Oracle DBMS" echo " " echo " " echo "6. O/S Packages Information" echo "_______________________________________________________" echo " " /usr/bin/pkginfo -i|grep SUNWarc /usr/bin/pkginfo -i|grep SUNWbtool /usr/bin/pkginfo -i|grep SUNWhea /usr/bin/pkginfo -i|grep SUNWlibC /usr/bin/pkginfo -i|grep SUNWlibm /usr/bin/pkginfo -i|grep SUNWlibms /usr/bin/pkginfo -i|grep SUNWsprot /usr/bin/pkginfo -i|grep SUNWsprox /usr/bin/pkginfo -i|grep SUNWtoo /usr/bin/pkginfo -i|grep SUNWi1of /usr/bin/pkginfo -i|grep SUNWi1cs /usr/bin/pkginfo -i|grep SUNWi15cs /usr/bin/pkginfo -i|grep SUNWxwfnt /usr/bin/pkg info make /usr/bin/pkg info assembler echo " " echo " " echo "7. O/S Patch Information (Solaris 10 Only)" echo "_______________________________________________________" echo " " echo " " /usr/sbin/patchadd -p | grep 120753 /usr/sbin/patchadd -p | grep 139574 /usr/sbin/patchadd -p | grep 141414 echo " " echo " " echo "8. Kernel Parameter Recommendations" echo "_______________________________________________________" echo " " echo " " /usr/bin/cat /etc/system echo " " /usr/bin/cat /etc/project 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 " " |