Finding hardware issue in a solaris machine

Hi folks,

In a running solaris machine (lets assume its critical server), how can I find whether is it got any hardware issue or any hardware (say harddisk) about to fail?  Is there any diagnostic tool available in Solaris which will facilitate to find the hardware issue advance in time, by which we can ensure the 100% uptime.

Who is Participating?
javeedabdulConnect With a Mentor Commented:

good question. can you tell the model of the server.i can tell more about it

just assume hard disk

This command give good info on hard disk
iostat -En
see how many error you getting for the disk
u can grep the error
iostat -EN |grep Hard
if the hard error are more than 5 . Replace the disk. but make sure where the error coming from  by doig

Prtdiag -v

is it x86 machine or sparc?
let me know i can tell bit more.

grep for "kern.warning" and search in google you will get what that warning relating to

Hope this gives you good help

vamsi_ukConnect With a Mentor Commented:
Use the following command to check the information on CPU, RAM, PCI Cards etc. You dont even need to be root to execute this command:

/usr/platform/`uname -i`/sbin/prtdiag
yuzhConnect With a Mentor Commented:
Look at the lights on the box
run "prtdiag" command as already suggested
and ckeck /var/adm/messages file.
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

rdashokrajAuthor Commented:
Thanks for your response. Is there any other diagnostic tool available apart from Prtdiag ?
yuzhConnect With a Mentor Commented:
Yes, you can download the Sun Explorer 5.8 Data Collector:

Please read the doc and FAQ (links in the above page)
rdashokrajAuthor Commented:
I thank each one of you for giving valuable inputs for this issue. I moved on to a new company where I don't have access to any servers till now. Hence I couldn't try all your solutions BUT will do definitely once I get the access.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.