Date Modified:2006-12-07
Overall Rating:
(1 votes)
Ease of Use:
File Size:2,100 bytes
License:GNU GPL
Description:This is an very simple script/test, but extremely useful. It detects ANY hardware failure in Sun SPARC systems by using the standard 'prtdiag' command. Prtdiag exits with a value of '1' if there is an hardware error, otherwise with an exit code of '0'. This way, no model/platform specific (i.e. V240/V890/15K, etc.) customizations are required, as the output of 'prtdiag' differs on most systems. It works fine on Fujitsu-Siemens systems too.