To get hdd temperature change line#99 of your conky config.
At the end of that line you'll see ${exec hddtemp /dev/sdb -n}°C
Change for your drive.
Allow conky to read hddtemp as non-root.
Run in a maximized terminal else it may complain "Dialogue frontend requires a screen at least 13 lines tall and 31 columns wide."
Code:
sudo dpkg-reconfigure hddtemp
When asked "Should /usr/sbin/hddtemp be installed SUID root?"...choose yes.
Use tab to move and spacebar to select.
Leave the other choices as default.
For cpu temp you need lm-sensors installed.
Code:
sudo apt-get install lm-sensors
Then run...
Code:
sudo sensors-detect
You will be prompted for a response to (YES/no):
As "YES" is capitalized just pressing enter will choose yes.
Answer yes to all questions.
A couple of prompts will be of the form (yes/NO). Make sure to type in yes for these ones.
Now run...
...and you should see something like...
Code:
glen@Raring:~$ sensors
it8720-isa-0228
Adapter: ISA adapter
in0: +0.99 V (min = +0.00 V, max = +4.08 V)
in1: +1.92 V (min = +0.00 V, max = +4.08 V)
in2: +3.38 V (min = +0.00 V, max = +4.08 V)
+5V: +3.01 V (min = +0.00 V, max = +4.08 V)
in4: +3.07 V (min = +0.00 V, max = +4.08 V)
in5: +1.06 V (min = +0.00 V, max = +4.08 V)
in6: +3.38 V (min = +0.00 V, max = +4.08 V)
5VSB: +3.02 V (min = +0.00 V, max = +4.08 V)
Vbat: +3.26 V
fan1: 2636 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 1147 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
temp1: +37.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp2: +38.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode
temp3: +80.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
cpu0_vid: +1.250 V
intrusion0: ALARM
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +32.5°C (high = +70.0°C)
(crit = +72.0°C, hyst = +70.0°C)
.
Post your output from sensors as you will need help to grep the right value and use this in conky.
Bookmarks