In the last post I showed you how to investigate a hardware issue with cprop, a tool for the newer Itanium systems. Now I show you how to start a health test for a specific hardware component. These health test options are only enabled in cprop if the specific component supports health test. First we list what components of the system support health test:
# cprop -listtest [Component]: Software Bundles Health test is not supported. [Component]: Software Products Health test is not supported. [Component]: System Summary Health test is not supported. [Component]: Cooling Health test is not supported. [Component]: Processors ------------------------------------------------------- [Instance]: 1 **************************************************** [Hash ID]: Processors:e46eda5cxe98b63fa [Test Name]: HP:CpuDiag [Description]: The CpuDiag is a diagnostic to do CPU Test. **************************************************** [Instance]: 2 **************************************************** [Hash ID]: Processors:a1817561x53baec19 [Test Name]: HP:CpuDiag [Description]: The CpuDiag is a diagnostic to do CPU Test. **************************************************** ------------------------------------------------------- [Component]: FRU Information Health test is not supported. [Component]: Firmware Information Health test is not supported. [Component]: Memory ------------------------------------------------------- **************************************************** [Test Name]: HP:MempkgDiag [Description]: HP:MempkgDiag is a memory test that performs a read and a read-write test simultaneously. **************************************************** ------------------------------------------------------- [Component]: Management Processor Health test is not supported. [Component]: Power Health test is not supported. [Component]: Temperature Health test is not supported. [Component]: Voltage Health test is not supported. [Component]: Memory Utilization Health test is not supported. [Component]: Process Information Health test is not supported. [Component]: Boot Device Configuration Health test is not supported. [Component]: Crash Dump Configuration Health test is not supported. [Component]: SAS HBA Health test is not supported. [Component]: SCSI HBA Health test is not supported. [Component]: FC HBA Health test is not supported. [Component]: IOTree Health test is not supported. [Component]: Network Information Health test is not supported. #
As this is a basic rx2660, only CPU and Memory support health test. Now I initiate a basic test for the CPUs:
# cprop -runtest -c Processors -t HP:CpuDiag [Component]: Processors ------------------------------------------------------- [Test Name]: HP:CpuDiag [Instance]: 1 **************************************************** [Hash ID]: Processors:e46eda5cxe98b63fa [Test Name]: HP:CpuDiag [Job ID]: 20110615105314-0 [Status]: Complete **************************************************** [Instance]: 2 **************************************************** [Hash ID]: Processors:a1817561x53baec19 [Test Name]: HP:CpuDiag [Job ID]: 20110615105841-1 [Status]: Complete **************************************************** ------------------------------------------------------- #
This command only initiated the test, but for the results you need to run cprop with the -viewtest option, I also filter it by the job ID:
# cprop -viewtest -j 20110615105314-0 ------------------------------------------------------- [Test Name]: HP:CpuDiag [Job ID]: 20110615105314-0 [Status]: Complete [Percent]: 100% [Total Loops]: 1 [Passed Loops]: 1 [Start Time]: 20110615105314.000000+120 ------------------------------------------------------- #
This doesn’t look too informative, that’s because prop also has a -viewtestlog parameter, which reports the result of the test:
# cprop -viewtestlog -j 20110615105314-0 ------------------------------------------------------- [Job ID]: 20110615105314-0 [Test Name]: HP:CpuDiag [Device]: //rx2660/root/cimv2:HPUX_Processor.CreationClassName="HPUX_Processor",DeviceID="0",SystemCreationClassName="PG_ComputerSystem",SystemName="rx2660" [Test Log]: 20110615105840.000000+120 [Statistic] CPU test completed, see details: Elapsed time: 325.77 seconds Spu ID: 0 Stress level: Medium Number of participated floating point values: 32,768 Result: Success 20110615105840.000000+120 [Result] Test Passed. ------------------------------------------------------- #
For more info on the health testing features of cprop, see the dedicated cprop_healthtest(1) man page.