You are not logged in.
Here's my output of "sensors":
bobby@dabox:~$ sensors
coretemp-isa-0003
Adapter: ISA adapter
Core 3: +38.0°C (crit = +100.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +38.0°C (crit = +100.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +39.0°C (crit = +100.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +39.0°C (crit = +100.0°C)
w83627dhg-isa-0290
Adapter: ISA adapter
VCore: +1.13 V (min = +0.00 V, max = +1.74 V)
in1: +11.30 V (min = +8.18 V, max = +1.74 V) ALARM
AVCC: +3.28 V (min = +0.69 V, max = +0.43 V) ALARM
3VCC: +3.26 V (min = +0.40 V, max = +0.29 V) ALARM
in4: +1.65 V (min = +1.82 V, max = +0.30 V) ALARM
in5: +1.63 V (min = +0.00 V, max = +0.91 V) ALARM
in6: +5.22 V (min = +0.95 V, max = +4.92 V) ALARM
VSB: +3.28 V (min = +0.98 V, max = +3.52 V)
VBAT: +3.23 V (min = +3.94 V, max = +0.59 V) ALARM
Case Fan: 0 RPM (min = 421 RPM, div = 128) ALARM
CPU Fan: 2033 RPM (min = 37500 RPM, div = 4) ALARM
Aux Fan: 0 RPM (min = 958 RPM, div = 128) ALARM
fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM
Sys Temp: +31.0°C (high = +65.0°C, hyst = +50.0°C) sensor = thermistor
CPU Temp: +30.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode
AUX Temp: +127.0°C (high = +80.0°C, hyst = +75.0°C) ALARM sensor = thermistor
bobby@dabox:~$
Here's what I currently have in conky that isn't showing anything (worked for previous box, this is a new system):
${execi 5 sensors | grep -A 0 'temp1' | cut -c15-16}${color #e8e8e8}C
${color #ffffff}${execi 5 sensors | grep -A 0 'temp2' | cut -c15-16}
TIA
EDIT: Fixed, nevermind
EDIT: Thanks for the reminder Mr. Green, renamed. I fixed it by changing "temp1" and "temp2" from my conky above to "CPU Temp" and "Sys Temp" as shown in the sensors output.
Last edited by colbert (2008-02-04 07:45:52)
Offline
can you edit post to show solved please....
Mr Green
Offline
May I ask how you fixed it?
Offline
That's not really a nice solution, it's pretty hackish seeing that Conky supports both i2c and hwmon.
Sensors output for me is:
$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +27.0°C
w83627ehf-isa-0290
Adapter: ISA adapter
VCore: +1.09 V (min = +0.00 V, max = +1.74 V)
in1: +12.36 V (min = +9.24 V, max = +9.45 V) ALARM
AVCC: +3.31 V (min = +3.95 V, max = +4.08 V) ALARM
3VCC: +3.33 V (min = +3.06 V, max = +4.08 V)
in4: +1.61 V (min = +2.04 V, max = +1.53 V) ALARM
in5: +1.61 V (min = +1.98 V, max = +1.53 V) ALARM
in6: +5.15 V (min = +6.53 V, max = +1.38 V) ALARM
VSB: +3.31 V (min = +4.02 V, max = +2.93 V) ALARM
VBAT: +3.02 V (min = +3.98 V, max = +4.08 V) ALARM
in9: +1.46 V (min = +1.53 V, max = +1.40 V) ALARM
Case Fan: 1654 RPM (min = 11250 RPM, div = 8) ALARM
CPU Fan: 3515 RPM (min = 1022 RPM, div = 8)
Aux Fan: 6617 RPM (min = 11065 RPM, div = 2) ALARM
fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM
Sys Temp: +30.0°C (high = -17.0°C, hyst = +121.0°C) sensor = thermistor
CPU Temp: +26.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUX Temp: +41.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
cpu0_vid: +1.400 V
For hwmon (which is probably used) check out "/sys/class/hwmon":
/sys/class/hwmon$ ls
hwmon0 hwmon1
$ ls hwmon0/device
broken_parity_status driver local_cpus power subsystem_vendor
class enable modalias resource temp1_input
config hwmon msi_bus subsystem uevent
device irq name subsystem_device vendor
$ ls hwmon1/device
cpu0_vid in0_input in5_input name pwm3_stop_time
driver in0_max in5_max power pwm3_target
fan1_alarm in0_min in5_min pwm1 pwm3_tolerance
fan1_div in1_alarm in6_alarm pwm1_enable subsystem
fan1_input in1_input in6_input pwm1_min_output temp1_alarm
fan1_min in1_max in6_max pwm1_mode temp1_input
fan2_alarm in1_min in6_min pwm1_stop_time temp1_max
fan2_div in2_alarm in7_alarm pwm1_target temp1_max_hyst
fan2_input in2_input in7_input pwm1_tolerance temp1_type
fan2_min in2_max in7_max pwm2 temp2_alarm
fan3_alarm in2_min in7_min pwm2_enable temp2_input
fan3_div in3_alarm in8_alarm pwm2_min_output temp2_max
fan3_input in3_input in8_input pwm2_mode temp2_max_hyst
fan3_min in3_max in8_max pwm2_stop_time temp2_type
fan5_alarm in3_min in8_min pwm2_target temp3_alarm
fan5_div in4_alarm in9_alarm pwm2_tolerance temp3_input
fan5_input in4_input in9_input pwm3 temp3_max
fan5_min in4_max in9_max pwm3_enable temp3_max_hyst
hwmon in4_min in9_min pwm3_min_output temp3_type
in0_alarm in5_alarm modalias pwm3_mode uevent
Now that makes it pretty easy for me to map hwmon1 against the "w83627ehf-isa-0290" output from the 'sensors' script. 'cat' the different temp?_input files and see which matches against what in the 'sensors' output and your almost done. When you know what is what, you just put the following in Conky (I prefer to use the diode in the CPU for CPU temperature):
CPU: ${hwmon 0 temp 1}°C
i2c is the same, but you check "/sys/bus/i2c/devices" instead, and use ${i2c} as specified here: Conky Variables.
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
I have to agree with [vEX].. conky has an internal call for hwmon which is lighter on resources then using some "exec sensors" hack.. From the Conky Variables page..
exec --- Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables!!
Offline
Thanks [vEX]!! That is much better, however what would be my motherboard temperature? I have:
bobby@dabox:/sys/class/hwmon$ ls
hwmon0 hwmon1 hwmon2 hwmon3 hwmon4
0 is the CPU, 1-4 are the cores so it works fine but I'd like to get mobo temp too.
Last edited by colbert (2008-02-04 20:09:54)
Offline
Just updating that I got mobo temp by using:
${hwmon 0 temp 2}
Last edited by colbert (2008-02-07 06:18:10)
Offline
Yeah, mapping the output is probably the most "difficult" part since you have to cat a lot of files to see which file corresponds to what part of the 'sensors' output. Glad you got it to work! :-)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline