Solaris Health Check Tips

Embed Size (px)

Citation preview

  • 7/23/2019 Solaris Health Check Tips

    1/2

    Sun Solaris Server Health CheckYou can perform the below important checks to get the Sun Solaris Server HealthCheck :

    1) Check the load average.The "uptime" command prints the current time, the length of time the system hasbeen up, and the average number of jobs in the run queue over the last 1, 5 and

    15 minutes

    2) CPU utilisation."sar -u" command checks teh CPU Utilisation.%usr - portion of time running in user mode%sys - running in system mode%wio - idle with some process waiting for block I/O%idleidle STATE.

    3) The "prstat -a" output provides the Memory utilisation of top processes.report active process statistics, Report information about processes and users.In this mode prstat displays separate reports about processes and users at the s

    ame time.

    Lightweight ProcessesA lightweight process can be considered as the swappable portion of a kernel thread.Another way to look at a lightweight process is to think of them as "virtual CPUs" which perform the processing for applications. Application threads are attached to available lightweight processes, which are attached to a a kernel thread,which is scheduled on the system's CPU dispatch queue

    Zombie ProcessesWhen a process dies, it becomes a zombie process. Normally, the parent performsa wait() and cleans up the PID. Sometimes, the parent receives too many SIGCHLD

    signals at once, but can only handle one at a time.

    4) Third Party utility "top"This utility provides various details like Load Average, CPU state, Physical Memory Utilisation and Swap Utilisation, IO Wait.

    5) Check bottlenecks with vmstat(Virtual Memory) output"vmstat 2 5"r in run queueb blocked for resources I/O, paging, and so forthw swapped

    6) Check swap utilisationswap l ; swap -s

    7) Check any disk failure or any other disk related errors"metastat egrep -i 'syncunavaimainError" (for SVM)" vxprint egrep "DISDETSTALESYNCOFFLNODEVFAILRLOC" (for Veritas)

    8) Check if any File System is fulldf kdu -dok / sort -nr head(Listing the Disk Usage)

    9) Check for the disk I/O statistics"iostat xcn 2 5"Read / Write

  • 7/23/2019 Solaris Health Check Tips

    2/2

    WaitActive queueWaiting for Service TransactionPercentage Busy

    10) Check for any errors reported in the /var/adm/messages

    11) Check for any errors or collisions are detectedfrom the netstat I interface command