Linux Temperature Info: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
* [[Linux#Getting_Runtime_Information|Linux]] | * [[Linux#Getting_Runtime_Information|Linux]] | ||
=lm_sensors= | |||
Tested on ThinkPad T500: | |||
yum install lm_sensors | |||
sensors-detect | |||
... | |||
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no) | |||
Provide "YES" to update /etc/modules, then reboot. Alternatively load drivers with modprobe command: | |||
modprobe coretemp | |||
modprobe i2c-i801 | |||
Temperature readings: | |||
sensors | |||
=Temperature Monitoring with ACPI= | =Temperature Monitoring with ACPI= |
Latest revision as of 04:02, 5 June 2018
External
- https://www.cyberciti.biz/faq/howto-linux-get-sensors-information/
- https://superuser.com/questions/25176/how-can-i-monitor-the-cpu-temperature-under-linux
- http://www.thinkwiki.org/wiki/Thermal_Sensors
Internal
lm_sensors
Tested on ThinkPad T500:
yum install lm_sensors sensors-detect ... Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no)
Provide "YES" to update /etc/modules, then reboot. Alternatively load drivers with modprobe command:
modprobe coretemp modprobe i2c-i801
Temperature readings:
sensors
Temperature Monitoring with ACPI
The details below apply to Linux running on Thinkpads.
cat /proc/acpi/ibm/thermal
Most ThinkPads include six or more separate temperature sensors but only expose the CPU temperature through the standard ACPI methods. This feature shows readings from up to eight different sensors on older ThinkPads, and up to sixteen different sensors on newer ThinkPads. Readings from sensors that are not available return -128.
The mapping of thermal sensors to physical locations varies depending on system-board model. It can be found here: http://thinkwiki.org/wiki/Thermal_Sensors.
T500 Temperature Sensors
Index in "thermal" Location 1 CPU (also via ACPI THM0) 2 ? (very similar to HDD smart temp) 3 ? (also via ACPI THM1) 4 n/a 5 Main Battery A 6 n/a (probably Second Battery A) 7 Main Battery B 8 n/a (probably Second Battery B) 9 ? (possibly (integrated) GPU) 10 ? 11 ? (possibly heatsink) 12 n/a 13 n/a 14 n/a 15 n/a 16 n/a