-
Notifications
You must be signed in to change notification settings - Fork 1
Temperature
cybertron edited this page Jan 4, 2012
·
1 revision
The temperature widget allows you to display information about system temperatures, as reported by the sensors command of lm_sensors. Note that you will obviously need lm_sensors installed for this to work properly. This widget has the following unique parameters:
- Chip The chip that you would like to read temperatures from. In my example output below, this is coretemp-isa-0000. It will likely be different on your system, so make sure to run sensors and find out which chip you need to monitor.
- ID The specific line of output from sensors that you're interested in. In the output below, that might be Core 0, Core 1, Core 2, or Core 3. Some chips will have different output, and if so you just need to make sure this value is a unique identifier on the line containing the temperature you're interested in.
Note that kernel upgrades occasionally cause the output from sensors to change, so these values may need to be updated from time to time. It should also be possible to read the values for the it8718-isa-0290 chip below, but I haven't actually tried that so I make no guarantees.
Example sensors output:
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +52.0 C (high = +82.0 C, crit = +100.0 C)
Core 1: +49.0 C (high = +82.0 C, crit = +100.0 C)
Core 2: +46.0 C (high = +82.0 C, crit = +100.0 C)
Core 3: +43.0 C (high = +82.0 C, crit = +100.0 C)
it8718-isa-0290
Adapter: ISA adapter
in0: +1.41 V (min = +0.00 V, max = +4.08 V)
in1: +1.87 V (min = +0.00 V, max = +4.08 V)
in2: +3.34 V (min = +0.00 V, max = +4.08 V)
+5V: +2.88 V (min = +0.00 V, max = +4.08 V)
in4: +1.70 V (min = +0.00 V, max = +4.08 V)
in5: +0.35 V (min = +0.00 V, max = +4.08 V)
in6: +0.10 V (min = +0.00 V, max = +4.08 V)
in7: +3.02 V (min = +0.00 V, max = +4.08 V)
Vbat: +3.20 V
fan1: 1967 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
temp1: +38.0 C (low = +127.0 C, high = +127.0 C) sensor = thermistor
temp2: +42.0 C (low = +127.0 C, high = +127.0 C) sensor = thermal diode
temp3: -2.0 C (low = +127.0 C, high = +127.0 C) sensor = thermistor
Example:
Widget
Type Temperature
SubType Graph
Position 125 5
Dimensions 100 20
Chip coretemp-isa-0000
ID Core 0
FGColor 255 0 0
Max 60