Robbie Foust wrote:
Is there a way to get real-time temp readings in linux? It would be
interesting to monitor the temp readings while doing processor
intensive things.
$ rpm -ql lm_sensors
detect your sensors with
# sensors-detect
[...probing your chips and follow the instructions eg. ...]
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-amd756
modprobe i2c-isa
# I2C chip drivers
# no driver for Smart Battery Charger yet
modprobe smartbatt
modprobe max6650
modprobe saa1064
modprobe lm92
modprobe eeprom
modprobe smbus-arp
modprobe pca9540
modprobe w83627hf
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----
[...]
# service lm_sensors start
# service lm_sensors status
eg.
$ sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1: +1.76 V (min = +0.00 V, max = +0.00 V)
VCore 2: +1.78 V (min = +0.00 V, max = +0.00 V)
+3.3V: +3.34 V (min = +3.14 V, max = +3.47 V)
+5V: +5.05 V (min = +4.76 V, max = +5.24 V)
+12V: +12.77 V (min = +10.82 V, max = +13.19 V)
-12V: -12.69 V (min = -13.18 V, max = -10.80 V)
-5V: -5.55 V (min = -5.25 V, max = -4.75 V)
V5SB: +5.38 V (min = +4.76 V, max = +5.24 V)
VBat: +3.04 V (min = +2.40 V, max = +3.60 V)
fan1: 0 RPM (min = -1 RPM, div = 2)
fan2: 0 RPM (min = 337500 RPM, div = 2)
fan3: 4821 RPM (min = 703 RPM, div = 8)
temp1: +29°C (high = +16°C, hyst = +0°C) sensor = thermistor
temp2: +48.0°C (high = +70°C, hyst = +65°C) sensor = thermistor
temp3: +71.0°C (high = +70°C, hyst = +65°C) sensor =
thermistor ALARM
[...]
--
shrek-m