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 |
#!/bin/sh export LANG=C echo "________________________________________________________________________" echo "Diagnostic Target system H/W information" echo " " echo " " echo " " echo "1. H/W CPU & MEMORY & Platformation & OS Version" echo "_______________________________________________________" echo " " /usr/contrib/bin/machinfo echo " " echo " " echo "________________________________________________________________________" echo "Diagnostic Target system O/S information" echo " " echo " " echo "5. OS Disk / Storage Information" echo "_______________________________________________________" /usr/bin/bdf echo " " echo " " echo " " echo "________________________________________________________________________" echo "O/S Requirements Check for Oracle DBMS" echo " " echo " " echo "6. O/S Packages Information" echo "_______________________________________________________" /usr/sbin/swlist -l patch |grep PHCO_43503 /usr/sbin/swlist -l patch |grep PHCO_41479 /usr/sbin/swlist -l patch |grep PHKL_38038 /usr/sbin/swlist -l patch |grep PHKL_38938 /usr/sbin/swlist -l patch |grep PHKL_40941 /usr/sbin/swlist -l patch |grep PHSS_36354 /usr/sbin/swlist -l patch |grep PHSS_37042 /usr/sbin/swlist -l patch |grep PHSS_37959 /usr/sbin/swlist -l patch |grep PHSS_39094 /usr/sbin/swlist -l patch |grep PHSS_39100 /usr/sbin/swlist -l patch |grep PHSS_39102 /usr/sbin/swlist -l patch |grep PHSS_38141 /usr/sbin/swlist -l patch |grep PHSS_39824 echo " " echo " " echo " " echo "7. Kernel Parameter Recommendations" echo "_______________________________________________________" echo " " echo " " echo " " /usr/sbin/kctune | egrep "ksi_alloc_max|max_thread_proc|maxdsiz|maxdsiz_64|maxssiz|maxssiz_64bit|maxswapchunks|maxuprc|msgmap|msgmni|msgseg|msgtql|ncallout|ncsize|nfile|nflocks|ninode|nkthread|nproc|semmap|semmni|semmns|semmnu|semvmx|shmmax|shmmni|shmseg|vps_ceiling|tcp_largest_anon_port|udp_largest_anon_port" echo " " echo " " echo " " echo "8. 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 "9. Database Patch Information" echo "_______________________________________________________" $ORACLE_HOME/OPatch/opatch lsinventory -detail echo " " echo " " echo " " echo "_______________________________________________________________________________________________________________________________________" echo " " echo " " |