OOPS! ^^ up there stinkyye beat me to it and I didn't see it.
And a nice unity panel solution to boot.
Good stuff stinkeye!
@ Skoobs
CPU
For CPU you need to install lm-sensors if it isn't already installed.
After it is installed run:
Code:
sudo sensors-detect
- answer yes to everything.
Then run "sensors"
Code:
sector11 @ sector11
03 Feb 13 | 07:16:04 ~
$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +30.0°C (crit = +110.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +34.9°C (high = +70.0°C)
f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V: +3.46 V
in1: +1.35 V
in2: +1.51 V
in3: +0.86 V
in4: +0.00 V
in5: +0.00 V
in6: +0.00 V
3VSB: +3.39 V
Vbat: +2.90 V
fan1: 2454 RPM
fan2: 0 RPM ALARM
fan3: 0 RPM ALARM
temp1: +45.0°C (high = +85.0°C, hyst = +81.0°C)
(crit = +70.0°C, hyst = +66.0°C) sensor = transistor
temp2: +36.0°C (high = +85.0°C, hyst = +81.0°C)
(crit = +100.0°C, hyst = +96.0°C) sensor = thermistor
temp3: +127.0°C (high = +70.0°C, hyst = +68.0°C) ALARM (CRIT)
(crit = +85.0°C, hyst = +83.0°C) sensor = transistor
sector11 @ sector11
03 Feb 13 | 07:16:07 ~
$
Figuring out what temp1, temp1, temp1 temp2 temp3 etc etc from sensors is confusing.
There is a nice little bash script you can use to find out without hassle: inxi
Code:
03 Feb 13 | 07:33:29 ~
$ inxi -s
Sensors: System Temperatures: cpu: 44.0C mobo: 36.0C gpu: 42C
Fan Speeds (in rpm): cpu: 2454 fan-2: 0 fan-3: 0
sector11 @ sector11
03 Feb 13 | 07:39:46 ~
$
compare that with 'sensors' and you know what is what.
Once you have that it's easier. I use the "platform" method.
Code:
CPU: ${platform f71882fg.2560 temp 1}
MOBO: ${platform f71882fg.2560 temp 2}
NOTE: The hwmon method is unreliable as it has a tendency to load in a different order on occasion.
GPU
For GPU it depends on what Video card you use. I use a NVIDIA card so mine is simple:
IBM:
I'm not sure but maybe you need:
Code:
${execi 5 ibm_temps N}
- If running the IBM ACPI, displays the temperatures from the IBM temperature sensors (N=0..7) Sensor 0 is on the CPU, 3 is on the GPU.
NVIDIA:
- threshold - The thresholdtemperature at which the gpu slows down
- temp - Gives the gpu current temperature
- ambient - Gives current air temperature near GPU case
- gpufreq - Gives the current gpu frequency
- memfreq - Gives the current mem frequency
- imagequality - Which imagequality should be chosen by OpenGL applications
And just because it's a temperature as well:
HDD
You might want to look at a hard drive temperature as well, install hddtemp for that - when it goes through the setup sequence there are three questions; answer Yes; Enter; No
Now if your HDD is "sda":
Code:
${execi 5 hddtemp -n /dev/sda}°
... the -n flag trims the output to just the number.
In a terminal run 'hddtemp /dev/sda' to see everything.
Code:
03 Feb 13 | 07:30:46 ~
$ hddtemp /dev/sda
/dev/sda: WDC WD2500AAJS-00VWA0: 34°C
sector11 @ sector11
03 Feb 13 | 07:33:29 ~
$
Bar in top
Couple of options:
In the conkyrc file above TEXT use:
Code:
own_window_type panel
Not my choice but this is about options, not "Do This!" I've seen some really nice "panels"
or you can use:
Code:
gap_x 0 # left-right
gap_y 0 # up-down
alignment top_middle
TEXT
... where under TEXT could be:
Code:
TEXT
Time: ${time %T}\
Date: ${time %x}\
Uptime: ${uptime_short}\
CPU: ${platform f71882fg.2560 temp 1}°\
MB: ${platform f71882fg.2560 temp 2}°\
GPU: ${nvidia temp}°\
HD: ${execi 5 hddtemp -n /dev/sda}°
Bookmarks