본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


출처 : http://blog.naver.com/win2107?Redirect=Log&logNo=100000822943


Display System Environmental Sensors (CHRP)

This Service Aid displays the environmental sensors implemented on a CHRP system. The information displayed is the sensor name, physical location code, literal value of the sensor status, and the literal value of the sensor reading.

Note:

Runs on CHRP systems units only.



The sensor status can be any one of the following:

Normal
The sensor reading is within the normal operating range.

Critical High
The sensor reading indicates a serious problem with the device. Run diagnostics on sysplanar0 to determine what repair action is needed.

Critical Low
The sensor reading indicates a serious problem with the device. Run diagnostics on sysplanar0 to determine what repair action is needed.

Warning High
The sensor reading indicates a problem with the device. This could become a critical problem if action is not taken. Run diagnostics on sysplanar0 to determine what repair action is needed.

Warning Low
The sensor reading indicates a problem with the device. This could become a critical problem if action is not taken. Run diagnostics on sysplanar0 to determine what repair action is needed.

Hardware Error
The sensor could not be read because of a hardware error. Run diagnostics on sysplanar0 in problem determination mode to determine what repair action is needed.

Hardware Busy
The system has repeatedly returned a busy indication, and a reading is not available. Try the Service Aid again. If the problem continues, run diagnostics, on sysplanar0 in problem determination mode to determine what repair action is needed.



This Service Aid can also be run as a command. The command can be used to list the sensors and their values in a text format, list the sensors and their values in numerical format, or a specific sensor can be queried to return either the sensor status or sensor value.



The command can be run by entering one of the following:

/usr/lpp/diagnostics/bin/uesensor -l | -a

/usr/lpp/diagnostics/bin/uesensor -t token -i index [-v]

Flags

-l
List the sensors and their values in a text format.

-a
List the sensors and their values in a numerical format. For each sensor, the following numerical values are displayed as:


-t token
Specifies the sensor token to query.

-i index
Specifies the sensor index to query.

-v
Indicates to return the sensor measured value. The sensor status is returned by default.



Examples

Display a list of the environmental sensors:
/usr/lpp/diagnostics/bin/uesensor -l

Sensor Token = Fan Speed
Status = Normal
Value = 2436 RPM
Location Code = F1


Sensor Token = Power Supply
Status = Normal
Value = Present and operational Location Code = V1

Sensor Token = Power Supply
*Status = Critical low
Value = Present and not operational
Location Code = V2

Display a list of the environmental sensors in a numerical list:
/usr/lpp/diagnostics/bin/uesensor -a

3 0 11 87 P1
9001 0 11 2345 F1
9004 0 11 2 V1
9004 1 9 2 V2

Return the status of sensor 9004, index 1:
/usr/lpp/diagnostics/bin/uesensor -t 9004 -i 1
9

Return the value of sensor 9004, index 1:
/usr/lpp/diagnostics/bin/uesensor -t 9004 -i 1 -v
2



[실제 시스템 예제 - 6F1]
# /usr/lpp/diagnostics/bin/uesensor -l
  Sensor = thermal sensor
  Status = Normal
  Value = 21 Degrees Celsius
  Physical Location Code = L1



#/usr/lpp/diagnostics/bin/uesensor -a
3 0 11 21 L1





----------------------------------------

AIX temperature sensors

----------------------------------------

By executing the command /usr/lpp/diagnostics/bin/uesensor, you can, on supported platform, get the fan speeds and temperature of your system:


[root@sys /] /usr/lpp/diagnostics/bin/uesensor -a 3 0 11 31 P1 9001 0 11 2100 F1 9001 1 11 2760 F2 9001 2 11 1890 F3 9001 3 11 1890 F4 9002 0 11 5129 P1 9002 1 11 3129 P1 9002 2 11 5129 P1 9002 3 11 12077 P1 9004 0 11 3 P3-V1 9004 1 11 3 P3-V2 9004 2 11 3 P3-V3
diag 메뉴를 통해서 접근하는 방법----------------------------
diag-->Task Selection-->Display Sysem Environmental Sensors
(참고) p670과 p690은 지원안되네요..ㅠㅠ
한국 IBM UNIX 기술영업부, TSG 에서 작성하였습니다. -------------------------------------------------- 시스템의 온도는 Service Processor 를 통해 monitoring 됩니다. 모든 pSeries 서버가 이를 지원하는 것은 아닙니다. bootinfo -p 명령어를 수행했을 때 chrp 로 나오는 CHRP(Common H/W Reference Platform) 서버기종에서 주로 사용가능합니다. 서버의 Firmware 가 제공하는 값을 보여주는 것이기 때문에 CHRP 모든 기종에서 지원되지는 않습니다.
수치적으로 온도를 확인할 수 있는 서버인지를 점검하는 명령어는 다음과 같습니다. # /usr/lib/boot/bin/dmpdt_chrp | grep ibm,environmental | grep sensor
결과값이 없으면 온도를 확인할 수 없는 서버이고 결과값이 있으면 온도확인이 가능한 서버입니다. p690, p670 에서는 System Firmware Level 에서의 기능차이로 인해 온도확인이 불가능합니다.
그러나 수치적으로 온도를 확인할 수 없는 서버일지라도 시스템에 문제를 일으킬 수 있는 온도를 넘게 되면 Error Message 가 시스템상에 보고되어 errpt 를 통해 확인이 가능하므로 이로 인한 장애를 예방할 수 있게 됩니다.
(*.95.187.205)