Conky Showoff thread

Forum rules
Before you post please read how to get help
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Fri Jul 22, 2016 1:47 pm

You're welcome trytip.

I don't bother with public internet address. The way I look at it, if I can read your post - I'm here :)
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Fri Jul 22, 2016 7:28 pm

Sector11 wrote:
Todd Sauve wrote:This is a very nice 8 core conky and has both the temperatures and frequencies in it! I cobbled it together from a 4 CPU conky. Maybe you can customize it to your own liking and use it yourself. Please post an image of yours if you do so.
Actually you are only showing 7 cores and the "Average" of your 8 core chip.

This is a "conky" thing.
${cpu cpu0} = the 'average usage of your cores and your cores are ${cpu cpu1} to ${cpu cpu8}
Conky Objects
Conky Objects wrote: cpu (cpuN) CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.
Frequency on the other hand start at 1 and can be shown as MHz or GHz
Conky Objects wrote:freq (n) Returns CPU #n's frequency in MHz. CPUs are counted from 1. If omitted, the parameter defaults to 1.

freq_g (n) Returns CPU #n's frequency in GHz. CPUs are counted from 1. If omitted, the parameter defaults to 1.
${freq 1} ${freq 2} ${freq 2} ${freq 2}

And that's for an Intel chip, AMD chips don't show separate temps or frequencies for individual cpus or cores - unless that has changed for newer AMD chips.

EDIT: Nice weather conky - what script are you using?
Thanks for pointing out the 8th core average problem. If you know how to fix it please edit the conky and post it for us.

The "weather conky" is just the Weather Desklet from LM 18. I prefer it to any of the conkies I've seen.

I did not include any internet speed info in the conky because I prefer the one in the Applets package that sits in the tool bar/Panel where it can be seen without having to minimize your open programs. As for the IP info, I find it to not be necessary. If you are connected you will know it.

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Fri Jul 22, 2016 9:37 pm

Todd Sauve wrote:Thanks for pointing out the 8th core average problem. If you know how to fix it please edit the conky and post it for us.
Here you go just the important stuff - popped the code into my test conky so colours, fonts etc are wrong but the idea is there - and sensors are a 'machine' thing non-transferable AND I have an AMD triple core sooooooooooo:
Image

from one Canuck to another ... this will work for you.

Code: Select all

${voffset -5}
${goto 5}${font zekton:style=Bold:pixelsize=14}${color2}SYSTEM LOAD - CPU AVG${alignr}${cpu cpu 0}%${color}
${voffset -5}
${goto 10}${font StyleBats:size=12}A${font} CPU 1: ${cpu cpu 1}%${goto 120} ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 2: ${cpu cpu 2}%${goto 120} ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 3: ${cpu cpu 3}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 2}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 4: ${cpu cpu 4}%${goto 120} ${execi 5 sensors|grep 'Core 4'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 3}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 5: ${cpu cpu 5}%${goto 120} ${execi 5 sensors|grep 'Core 5'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 5} MHz
${goto 5}${color1}${cpubar cpu 4}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 6: ${cpu cpu 6}%${goto 120} ${execi 5 sensors|grep 'Core 6'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 6} MHz
${goto 5}${color1}${cpubar cpu 5}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 7: ${cpu cpu 7}%${goto 120} ${execi 5 sensors|grep 'Core 7'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 7} MHz
${goto 5}${color1}${cpubar cpu 6}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 8: ${cpu cpu 8}%${goto 120} ${execi 5 sensors|grep 'Core 8'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 8} MHz
${goto 5}${color1}${cpubar cpu 7}${color}
${voffset -5}
${goto 50}${swapbar 0,20}  SHORTCUT KEYS  ${swapbar 0,20}${goto 70}${voffset -9}${swapbar 20,119}
Todd Sauve wrote:The "weather conky" is just the Weather Desklet from LM 18. I prefer it to any of the conkies I've seen.
OH OK ... I like Teo's scripts, and to be honest I though that what you were using. :)
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Fri Jul 22, 2016 10:41 pm

Sector11 wrote:
Todd Sauve wrote:Thanks for pointing out the 8th core average problem. If you know how to fix it please edit the conky and post it for us.
Here you go just the important stuff - popped the code into my test conky so colours, fonts etc are wrong but the idea is there - and sensors are a 'machine' thing non-transferable AND I have an AMD triple core sooooooooooo:
Image

from one Canuck to another ... this will work for you.

Code: Select all

${voffset -5}
${goto 5}${font zekton:style=Bold:pixelsize=14}${color2}SYSTEM LOAD - CPU AVG${alignr}${cpu cpu 0}%${color}
${voffset -5}
${goto 10}${font StyleBats:size=12}A${font} CPU 1: ${cpu cpu 1}%${goto 120} ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 2: ${cpu cpu 2}%${goto 120} ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 3: ${cpu cpu 3}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 2}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 4: ${cpu cpu 4}%${goto 120} ${execi 5 sensors|grep 'Core 4'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 3}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 5: ${cpu cpu 5}%${goto 120} ${execi 5 sensors|grep 'Core 5'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 5} MHz
${goto 5}${color1}${cpubar cpu 4}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 6: ${cpu cpu 6}%${goto 120} ${execi 5 sensors|grep 'Core 6'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 6} MHz
${goto 5}${color1}${cpubar cpu 5}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 7: ${cpu cpu 7}%${goto 120} ${execi 5 sensors|grep 'Core 7'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 7} MHz
${goto 5}${color1}${cpubar cpu 6}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 8: ${cpu cpu 8}%${goto 120} ${execi 5 sensors|grep 'Core 8'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 8} MHz
${goto 5}${color1}${cpubar cpu 7}${color}
${voffset -5}
${goto 50}${swapbar 0,20}  SHORTCUT KEYS  ${swapbar 0,20}${goto 70}${voffset -9}${swapbar 20,119}
Todd Sauve wrote:The "weather conky" is just the Weather Desklet from LM 18. I prefer it to any of the conkies I've seen.
OH OK ... I like Teo's scripts, and to be honest I though that what you were using. :)
Hi,

Something is not right as I am losing all my temperatures on CPUs 4 through 8. I don't know why. Maybe check your code again?

Thanks!

Todd

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Sat Jul 23, 2016 12:51 pm

Todd Sauve wrote:Hi,

Something is not right as I am losing all my temperatures on CPUs 4 through 8. I don't know why. Maybe check your code again?

Thanks!

Todd
Well, we've both made an OOPSIE! I think

Your original code has temps for "Core 3" 5 times. So when I changed them to reflect 4, 5, 6, 7.

Do you have a Quad Core CPU that has had the hidden cores unlocked? As I said I'm not an Intel guy I use an AMD.

Could you post the output of "sensors" and put it inside code blocks please.

Code: Select all

[code]Terminal output in code blocks
[/code]like this.

Code: Select all

 23 Jul 16 @ 13:33:50 ~
  $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  (crit = +110.0°C)

f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V:        +3.49 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.99 V  
fan1:        2222 RPM
fan2:           0 RPM  ALARM
fan3:           0 RPM  ALARM
temp1:        +41.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:        +42.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

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +31.6°C  (high = +70.0°C)
 
 23 Jul 16 @ 13:33:55 ~
  $ 
I'm guessing you only have temps for the first 4 cores.

It would take an "Intel" user to do this properly ... for example if a quad core is unlocked is it like this:

Core 0 - Unlocked as Core 4
Core 1 - Unlocked as Core 5
Core 2 - Unlocked as Core 6
Core 3 - Unlocked as Core 7

If so
Temperature for Core 0 = temp for Core 4
Temperature for Core 1 = temp for Core 5
Temperature for Core 2 = temp for Core 6
Temperature for Core 3 = temp for Core 7

And that is the way I have this set up:

Code: Select all

${voffset -5}
${goto 5}${font zekton:style=Bold:pixelsize=14}${color2}SYSTEM LOAD - CPU AVG${alignr}${cpu cpu 0}%${color}
${voffset -5}
${goto 10}${font StyleBats:size=12}A${font} CPU 1: ${cpu cpu 1}%${goto 120} ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 2: ${cpu cpu 2}%${goto 120} ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 3: ${cpu cpu 3}%${goto 120} ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 2}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 4: ${cpu cpu 4}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 3}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 5: ${cpu cpu 5}%${goto 120} ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 5} MHz
${goto 5}${color1}${cpubar cpu 4}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 6: ${cpu cpu 6}%${goto 120} ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 6} MHz
${goto 5}${color1}${cpubar cpu 5}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 7: ${cpu cpu 7}%${goto 120} ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 7} MHz
${goto 5}${color1}${cpubar cpu 6}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 8: ${cpu cpu 8}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 8} MHz
${goto 5}${color1}${cpubar cpu 7}${color}
${voffset -5}
${goto 50}${swapbar 0,20}  SHORTCUT KEYS  ${swapbar 0,20}${goto 70}${voffset -9}${swapbar 20,119}
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Sat Jul 23, 2016 9:23 pm

It is an i7 4770k. This has 4 cores and 4 hyperthreads, but shows up as an 8 core CPU on Desktop Gadgets' CPU Monitor in Windows 10.

That's all I can tell you, other than this was a very expensive (almost $400 retail) CPU to purchase!!! :shock:

I also have a couple of other 8 core Conkeys but none of them have the temps in them, thus I much prefer this one.

If you could post the complete Conkey code that you think will work correctly, I'll form a Conkyrc out of it and give it a try.

That's the best I can do because I am a complete neophyte when it comes to coding anything!
Last edited by Todd Sauve on Sat Jul 23, 2016 9:46 pm, edited 2 times in total.

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Sat Jul 23, 2016 9:41 pm

From the screenshot I'm posting here, I don't think you are correct about the same core showing up multiple times in the conky. As you can see, the frequencies are all different for every core so you must not be correct in your assumption, though the other screenshot could lead you to conclude that. (That screenshot was captured while running one of the standard but simple Linux CPU benchmarks. I think it was CPU Queens, or something like that, and it seemed to stress all of the cores equally for the short time that it ran.)

However, if you see a flaw in my reasoning, please correct me and show me from the code why you are right because I just don't understand it.

AS I said, I am a complete newcomer to this coding and conky business. :?

[img]
Screenshot%20from%202016-07-20%2002-16-42.jpg
[/img]

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Sun Jul 24, 2016 11:22 am

1. Let's talk temperatures:

You did not post the results of "sensors" in a terminal that I asked for, that would have shown "me" what I wanted to see.

Take a real good look at the conky in the "image" you posted in the previous post. You have 5 cores with the same temperature - CPUs 4 to 8 show: 38° You did not show the code in that post BUT in your original code you posted here there are problems with the temperatures. You are showing "Core 3" five times.

As I have said: AMD only shows the temperature of the "chip" be it single or multiple core CPU, but Intel chips show temperatures of individual cores. As you have said, you have a Quad core chip hyperthreaded to 8 cores. However you only have temps for the first "physical" 4 cores. Personally I would only show the temps on every second core: "Core 0 - 3"

Here's your code .... italics and italics-bold are mine for emphasis
${goto 5}${font zekton:style=Bold:pixelsize=14}${color2}SYSTEM LOAD${font Snap.se:size=8} ${color1}${hr}${color}
${voffset -5}
${goto 10}${font StyleBats:size=12}A${font} CPU 1: ${cpu cpu 0}%${goto 120} ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 0}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 2: ${cpu cpu 1}%${goto 120} ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 3: ${cpu cpu 2}%${goto 120} ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 2}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 4: ${cpu cpu 3}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 3}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 5: ${cpu cpu 4}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 5} MHz
${goto 5}${color1}${cpubar cpu 4}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 6: ${cpu cpu 5}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 6} MHz
${goto 5}${color1}${cpubar cpu 5}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 7: ${cpu cpu 6}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 7} MHz
${goto 5}${color1}${cpubar cpu 6}${color}
${goto 10}${font StyleBats:size=12}A${font} CPU 8: ${cpu cpu 7}%${goto 120} ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 8} MHz
${goto 5}${color1}${cpubar cpu 7}${color}
${voffset -5}
2. Now lets look at the same code regarding CPU usage in percents:

http://conky.sourceforge.net/variables.html

Code: Select all

cpu 	(cpuN)
 	CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.
From that it's plain to see that ${cpu} or ${cpu cpu0} represent the "average"
Do not confuse ${cpu cpu0} with "Core 0" for temperatures here. "Core 0" is an 'Intel' thing - AMD calls them CPU's and starts the counting at CPU1. Now conky does "individual" usage % for each core (Intel) or cpu (AMD) in the same manner:
Dual 'chip' = ${cpu cpu1} ${cpu cpu2}
Triple 'chip' = ${cpu cpu1} ${cpu cpu2} ${cpu cpu3}
Quad 'chip' = ${cpu cpu1} ${cpu cpu2} ${cpu cpu3} ${cpu cpu4}
Octuple 'chip' = ${cpu cpu1} ${cpu cpu2} ${cpu cpu3} ${cpu cpu4} ${cpu cpu5} ${cpu cpu6} ${cpu cpu7} ${cpu cpu8}
etc

... and then "conky" add's a ${cpu} or ${cpu cpu0} command to get the average usage of all cores regardless of whether or not they are an Intel or AMD chip.

3. Frequencies
- again you didn't show "sensors" output that I asked for.

again from: conky.sourceforge.net/variables.html

Code: Select all

freq 	(n)
 	Returns CPU #n's frequency in MHz. CPUs are counted from 1. If omitted, the parameter defaults to 1.

freq_g 	(n)
 	Returns CPU #n's frequency in GHz. CPUs are counted from 1. If omitted, the parameter defaults to 1.
So OK, it shows all 8 of your "cores" both the 4 physical cores and the hyper-threaded cores.

But it's a strange command and in my opinion should read:
If omitted or you use to many, the parameter defaults to 1.
Remember my chip: a triple core AMD: Look at this code:

Code: Select all

${alignc}${color9}${swapbar 0,25}${color} ↓ test code ↓ ${color9}${swapbar 0,25}${color}
${color9}${swapbar 0}${color}

CPU  1 ${freq 0} MHz    ${freq_g 0} GHz
CPU  1 ${freq 1} MHz    ${freq_g 1} GHz
CPU  2 ${freq 2} MHz    ${freq_g 2} GHz
CPU  3 ${freq 3} MHz    ${freq_g 3} GHz
CPU  4 ${freq 4} MHz    ${freq_g 4} GHz
CPU  5 ${freq 5} MHz    ${freq_g 5} GHz
CPU  6 ${freq 6} MHz    ${freq_g 6} GHz
CPU  7 ${freq 7} MHz    ${freq_g 7} GHz
CPU  8 ${freq 8} MHz    ${freq_g 8} GHz
CPU  9 ${freq 9} MHz    ${freq_g 9} GHz
CPU 10 ${freq 10} MHz    ${freq_g 10} GHz
CPU 11 ${freq 11} MHz    ${freq_g 11} GHz
CPU 12 ${freq 12} MHz    ${freq_g 12} GHz
CPU 13 ${freq 13} MHz    ${freq_g 13} GHz
CPU 14 ${freq 14} MHz    ${freq_g 14} GHz

${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,25}${color} ↑ between lines ↑ ${color9}${swapbar 0,25}${color}
Notice the two CPU 1's up there - the first should be CPU 0, but the code shows ${freq 0} for the first one - my typo OOPS!
Image

My CPU is set to always use 3.21GHz as I have a desktop and set it up that way.

However when I had it set up to "fluctuate" the CPU frequencies I would get different reading for individual CPU's - for ${freq 1} ${freq 2} ${freq 3} the rest would all show what ${freq 1} shows.
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Sun Jul 24, 2016 12:25 pm

Your understanding of conky is much better than mine!

However, I don't know how to show you the "sensors" info that you want ... :(

Even in Windows 10, the i7 fluctuates its frequencies from 800MHz to 4300MHz on an individual core basis. It is overclocked to 4.3GHz on 2 of its cores, while the other two max out at 4.2 GHz. The hyperthreaded cores follow suit on an individual basis. So the CPU seldom ever shows all cores at the same frequency unless a benchmark is being run at 100% speed or a program that uses all 8 cores is running. Even then it is very rare with programs for them to max out all the cpu cores. I think Handbrake will do it but not many others.

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Sun Jul 24, 2016 12:49 pm

Yea, I've been helping people with conky for nine years - I should retire, but I enjoy helping.
frequencies from 800MHz to 4300MHz That's a good thing.

In Linux open your terminal and type "sensors" and hit enter then copy and paste the results into code blocks here for me to see.
Image
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Mon Jul 25, 2016 12:42 pm

OK, here's the sensors info.

Code: Select all

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +45.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +45.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:         +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:         +40.0°C  (high = +80.0°C, crit = +100.0°C)

nct6791-isa-0290
Adapter: ISA adapter
Vcore:                  +0.90 V  (min =  +0.00 V, max =  +1.74 V)
in1:                    +1.00 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
AVCC:                   +3.30 V  (min =  +2.98 V, max =  +3.63 V)
+3.3V:                  +3.30 V  (min =  +2.98 V, max =  +3.63 V)
in4:                    +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                    +1.96 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:                    +0.00 V  (min =  +0.00 V, max =  +0.00 V)
3VSB:                   +3.47 V  (min =  +2.98 V, max =  +3.63 V)
Vbat:                   +3.36 V  (min =  +2.70 V, max =  +3.63 V)
in9:                    +1.11 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                   +0.00 V  (min =  +0.00 V, max =  +0.00 V)
in11:                   +0.84 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                   +0.00 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                   +0.00 V  (min =  +0.00 V, max =  +0.00 V)
in14:                   +0.00 V  (min =  +0.00 V, max =  +0.00 V)
fan1:                   993 RPM  (min =    0 RPM)
fan2:                   979 RPM  (min =    0 RPM)
fan3:                   872 RPM  (min =    0 RPM)
fan4:                     0 RPM  (min =    0 RPM)
fan5:                   805 RPM  (min =    0 RPM)
fan6:                   743 RPM
SYSTIN:                 +38.0°C  (high =  +0.0°C, hyst =  +0.0°C)  ALARM  sensor = thermistor
CPUTIN:                 +39.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
AUXTIN0:               -128.0°C    sensor = thermistor
AUXTIN1:               -128.0°C    sensor = thermistor
AUXTIN2:                +35.0°C    sensor = thermistor
AUXTIN3:               +127.0°C    sensor = thermistor
PECI Agent 0:           +37.5°C  
PCH_CHIP_CPU_MAX_TEMP:   +0.0°C  
PCH_CHIP_TEMP:           +0.0°C  
PCH_CPU_TEMP:            +0.0°C  
intrusion0:            ALARM
intrusion1:            ALARM
beep_enable:           disabled

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM


User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Mon Jul 25, 2016 2:18 pm

^ That's awesome. It shows that sensors sees the temperatures for the 4 'physical' cores you have.

And look at those fans ... that's good stuff as well.

You have a Laptop? I see battery voltage there:

Code: Select all

Vbat:                   +3.36 V  (min =  +2.70 V, max =  +3.63 V)
Go through your conky code and do one of two things (opinion, but you should do one of the two IMHO)

Take those last 4 "Core 3" temperatures and either:

1. - Remove the code from the lines, OR
2. - Change them to repeat "Core 0", "Core 1", "Core 2", "Core 3",

Personally, I'd do #2 if this was mine.

Do you have "inxi" installed? It has a "sensors" option that when combined with "sensors" can/might show you what temperatures belong to other pieces of your equipment ... here's mine to give you an idea:

Code: Select all

 25 Jul 16 @ 15:00:17 ~
  $ sensen
f71862fg-isa-0a00
fan1:        2029 RPM
temp1:        +39.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:        +41.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = thermistor
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +29.0°C  (high = +70.0°C)

=-=-= INXI =-=-=
Sensors:   System Temperatures: cpu: 41.0C mobo: 29.0C gpu: 43C
           Fan Speeds (in rpm): cpu: 2029 fan-2: 0 fan-3: 0
 
 25 Jul 16 @ 15:01:58 ~
  $ 
GPU I get from 'Nivida' :)
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Mon Jul 25, 2016 5:25 pm

Sector11 wrote:^ That's awesome. It shows that sensors sees the temperatures for the 4 'physical' cores you have.

And look at those fans ... that's good stuff as well.

You have a Laptop? I see battery voltage there:

Code: Select all

Vbat:                   +3.36 V  (min =  +2.70 V, max =  +3.63 V)
Go through your conky code and do one of two things (opinion, but you should do one of the two IMHO)

Take those last 4 "Core 3" temperatures and either:

1. - Remove the code from the lines, OR
2. - Change them to repeat "Core 0", "Core 1", "Core 2", "Core 3",

Personally, I'd do #2 if this was mine.

Do you have "inxi" installed? It has a "sensors" option that when combined with "sensors" can/might show you what temperatures belong to other pieces of your equipment ... here's mine to give you an idea:

Code: Select all

 25 Jul 16 @ 15:00:17 ~
  $ sensen
f71862fg-isa-0a00
fan1:        2029 RPM
temp1:        +39.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:        +41.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = thermistor
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +29.0°C  (high = +70.0°C)

=-=-= INXI =-=-=
Sensors:   System Temperatures: cpu: 41.0C mobo: 29.0C gpu: 43C
           Fan Speeds (in rpm): cpu: 2029 fan-2: 0 fan-3: 0
 
 25 Jul 16 @ 15:01:58 ~
  $ 
GPU I get from 'Nivida' :)
Here's my inxi sensors output.

Code: Select all

CPU~Quad core Intel Core i7-4770K (-HT-MCP-) speed/max~3499/4300 MHz Kernel~4.4.0-31-generic x86_64 Up~1 min Mem~805.1/15916.6MB HDD~4731.0GB(0.2% used) Procs~248 Client~Shell inxi~2.2.35  
t
No, this isn't a laptop it's a desktop. For some reason it reads my mouse's battery as a laptop battery.

Here are the code changes I made to conkyrc, using your option 2 advice.

Code: Select all

${goto 10}${font StyleBats:size=12}A${font}  CPU 1: ${cpu cpu 0}%${goto 120}    ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 0}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 2: ${cpu cpu 1}%${goto 120}    ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 3: ${cpu cpu 2}%${goto 120}    ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 2}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 4: ${cpu cpu 3}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 3}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 5: ${cpu cpu 0}%${goto 120}    ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 4}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 6: ${cpu cpu 1}%${goto 120}    ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 5}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 7: ${cpu cpu 2}%${goto 120}    ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 6}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 8: ${cpu cpu 3}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 7}${color}
And here's a screenshot of the new conkyrc.

[img]
Conky%20clip.jpg
[/img]

Now the last four CPUs just seem to be exact copies of the first four, so something isn't right about your option 2. Unless I made a mistake somewhere in the code changes ...

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Mon Jul 25, 2016 7:20 pm

^ Looks good. The last 4 temps are a repeat of the first fore temps because that is all you have. The "hyper-threaded cores", 5 to 8, do not have separate temperatures because they are not a physical device.
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Mon Jul 25, 2016 8:13 pm

Sector11 wrote:^ Looks good. The last 4 temps are a repeat of the first fore temps because that is all you have. The "hyper-threaded cores", 5 to 8, do not have separate temperatures because they are not a physical device.
Hi again Sector11,

In Win 10, both the "All CPU Meter" and "CPU Monitor" gadgets from Desktop Gadgets assign the hyperthreaded cores a separate temp and frequency from the cores. That's why I disagree with you on this.

The way I had it set up originally did show separate temps and MHz, just like Desktop Gadgets.

Even the source you cite states this:

Architecturally, a processor with Hyper-Threading Technology consists of two logical processors per core, each of which has its own processor architectural state. Each logical processor can be individually halted, interrupted or directed to execute a specified thread, independently from the other logical processor sharing the same physical core.[7]

How could the PC just arbitrarily assign the hyperthreads different temps and MHz unless it is actually and genuinely reading two separate individual sensors per core--one for the core and the other for the hyperthread--in both Windows and Linux?

So I'm going to go with what logic tells me on this and retain my original setup. It must be correct.

Thanks for your help with this anyway. I genuinely appreciate your insights and the time you have taken to help me with this. You are a really community minded person, and I admire and applaud that!

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Tue Jul 26, 2016 9:34 am

OK - what ever you say.
But for temps - LINUX sees 4 Cores for temps.

Code: Select all

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +45.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +45.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:         +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:         +40.0°C  (high = +80.0°C, crit = +100.0°C)
I have not use ant Microsoft product sine W2K and have no idea about those.

Have a nice day.
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Tue Jul 26, 2016 7:19 pm

As you can see, even htop, when run from the Terminal in Linux, shows 8 cores!


1 [| 0.7%] 5 [ 0.0%]
2 [| 2.0%] 6 [ 0.0%]
3 [| 1.3%] 7 [| 1.3%]
4 [| 0.7%] 8 [|| 1.3%]
Mem[||||||| 914M/15.5G] Tasks: 76, 234 thr; 1 running
Swp[ 0K/0K] Load average: 0.19 0.16 0.16
Uptime: 00:20:50

PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
1358 root 20 0 294M 84892 66252 S 1.3 0.5 1:16.49 /usr/lib/xorg/Xorg :0 -audit 0 -auth
2139 todd 20 0 1434M 222M 80476 S 0.7 1.4 0:46.23 cinnamon --replace
15476 todd 20 0 480M 36544 28348 S 0.7 0.2 0:00.15 /usr/lib/gnome-terminal/gnome-termina
2205 todd 20 0 625M 45464 29788 S 0.7 0.3 0:02.51 /usr/bin/python /usr/bin/solaar
2154 todd 20 0 625M 45464 29788 S 0.7 0.3 0:02.74 /usr/bin/python /usr/bin/solaar
2294 todd 20 0 854M 19640 14820 S 0.7 0.1 0:04.43 conky
2152 todd 20 0 380M 31692 25492 S 0.7 0.2 0:00.16 /usr/lib/policykit-1-gnome/polkit-gno
15530 todd 20 0 26144 3908 3148 R 0.0 0.0 0:00.05 htop
4478 todd 20 0 1209M 387M 105M S 0.0 2.4 1:26.64 /usr/lib/firefox/firefox
1634 todd 20 0 43392 3716 2768 S 0.0 0.0 0:00.85 /usr/bin/dbus-daemon --fork --print-p
1652 todd 20 0 43664 4676 3464 S 0.0 0.0 0:00.68 /usr/bin/dbus-daemon --config-file=/e
2297 todd 20 0 854M 19640 14820 S 0.0 0.1 0:00.34 conky
4518 todd 20 0 1209M 387M 105M S 0.0 2.4 0:00.09 /usr/lib/firefox/firefox
F1Help F2Setup F3SearchF4FilterF5Tree F6SortByF7Nice -F8Nice +F9Kill F10Quit

User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 » Tue Jul 26, 2016 7:36 pm

Todd ...

I have never once said you do not have 8 cores, I know you have 8 cores:

The Linux application 'conky' shows:
CPU usage by percent: ${cpu cpu1} to ${cpu cpu8} and ${cpu} or ${cpu cpu0} shows the average percentile usage.

CPU frequencies: ${freq 1} to ${freq 8} shows the frequencies of the 8 cores

BUT "conky" only shows the temps of the 4 "physical" cores: "Core 0" to "Core 3"

If you check any conky code I posted you will see I support those 21 things: 8 %'s + 8 freq's + 4 temps = 20 + 1 average
Using: BunsenLabs based on Debian Stable.
Conky PitStop

User avatar
Todd Sauve
Level 2
Level 2
Posts: 84
Joined: Tue Oct 20, 2015 11:36 pm
Location: Calgary, Alberta

Re: Conky Showoff thread

Post by Todd Sauve » Wed Jul 27, 2016 12:18 am

Hi again Sector11,

I'm afraid to debate all of this conky code business any more! You know a LOT more than me about it, and all I can say is what I said before. So anyway ... thanks again! :D

Here is a new screen shot of my latest compilation. It has enough info now to be really useful for anyone interested in showing the vitals of an Intel i7 with an Nvidia video card. I also managed to find code for bar graphs for the RAM and Hard Drive usage.

I think it looks awfully good now and it's a transparent Conky, though you can change the background colour to anything you like if you know how.

Getting proper code for Nvidia cards is NOT easy! Man! If anyone has the code to show the fan speed in RPMs for an Nvidia card please post it for me. All I can find is the percentage code.

Please note: You will have type in the proper name of your CPU, Nvidia video card and hard disk for them to show up correctly in your Conky.

Code: Select all

conky.config = {
	background = false,
	update_interval = 1,

	cpu_avg_samples = 2,
	net_avg_samples = 2,
	temperature_unit = 'celsius',

	double_buffer = true,
	no_buffers = true,
	text_buffer_size = 2048,

	gap_x = 30,
	gap_y = 90,
	minimum_width = 280, minimum_height = 460,
	maximum_width = 280,
	own_window = true,
	own_window_class = 'conky',
	own_window_argb_visual = true,
	own_window_argb_value = 120,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_transparent = true,
	background = false,
	border_inner_margin = 0,
	border_outer_margin = 0,
	alignment = 'bottom_right',

	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,

	override_utf8_locale = true,
	use_xft = true,
	font = 'DejaVu Sans:size=10',
	xftalpha = 0.5,
	uppercase = false,

	default_color = 'white',
        color1 = 'cyan',
        color2 = 'white',


};

conky.text = [[
${goto 5}${font zekton:style=Bold:pixelsize=14}${color2}SYSTEM${font  Snap.se:size=8} ${color1}${hr}${color}

${goto 10}${font OpenLogos:size=12}J${font}   OS: ${execi 10800 cat /etc/issue.net}
${goto 10}${font StyleBats:size=12}q${font}   Kernel: ${kernel}
${goto 10}${font StyleBats:size=12}x${font}   CPU: Intel Core i7 4770k
${voffset -5}
${goto 5}${font zekton:style=Bold:pixelsize=14}${color2}SYSTEM LOAD${font  Snap.se:size=8} ${color1}${hr}${color}
${voffset -5}
${goto 10}${font StyleBats:size=12}A${font}  CPU 1: ${cpu cpu 0}%${goto 120}    ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 1} MHz
${goto 5}${color1}${cpubar cpu 0}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 2: ${cpu cpu 1}%${goto 120}    ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 2} MHz
${goto 5}${color1}${cpubar cpu 1}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 3: ${cpu cpu 2}%${goto 120}    ${execi 5 sensors|grep 'Core 2'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 3} MHz
${goto 5}${color1}${cpubar cpu 2}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 4: ${cpu cpu 3}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 4} MHz
${goto 5}${color1}${cpubar cpu 3}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 5: ${cpu cpu 4}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 5} MHz
${goto 5}${color1}${cpubar cpu 4}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 6: ${cpu cpu 5}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 6} MHz
${goto 5}${color1}${cpubar cpu 5}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 7: ${cpu cpu 6}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 7} MHz
${goto 5}${color1}${cpubar cpu 6}${color}
${goto 10}${font StyleBats:size=12}A${font}  CPU 8: ${cpu cpu 7}%${goto 120}    ${execi 5 sensors|grep 'Core 3'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C ${alignr}${freq 8} MHz
${goto 5}${color1}${cpubar cpu 7}${color}
${voffset -5}
${goto 10}${font StyleBats:size=12}g${font}  RAM  $mem / $memmax ($memperc%)
${goto 32}${color1}${membar 5,230}${color}
${voffset -5}
${goto 10}${font conkycolors:size=12}i${font} ${voffset -5} Home:  ${fs_used /} / ${fs_size /}
${goto 32}${color1}${fs_bar 5,230}${color}
${voffset -5}
${goto 10}${font conkycolors:size=12}l${font}${voffset -6}${goto 32}Sandisk SSD:  I/O: ${diskio}
${voffset -5}
${goto 10}${font StyleBats:size=12}l${font}  Nvidia MSI GTX 770 OC:  ${exec nvidia-settings -t -q [gpu:0]/GPUCoreTemp} °C${goto 150}
${goto 32} Mem Used: ${execi 5 nvidia-settings -q [gpu:0]/UsedDedicatedGPUMemory -t} / ${exec nvidia-settings -q [gpu:0]/TotalDedicatedGPUMemory -t} MB
${goto 32}${color2} GPU Fan: $color ${execi 10 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t}% 
]];
Screenshot from 2016-07-26 22-36-23a.jpg
Last edited by Todd Sauve on Wed Jul 27, 2016 12:56 am, edited 1 time in total.

User avatar
trytip
Level 6
Level 6
Posts: 1170
Joined: Tue Jul 05, 2016 1:20 pm

Re: Conky Showoff thread

Post by trytip » Sat Jul 30, 2016 9:12 pm

@Todd Sauve
Getting proper code for Nvidia cards is NOT easy! Man! If anyone has the code to show the fan speed in RPMs for an Nvidia card please post it for me. All I can find is the percentage code.

you are getting nvidia stats from nvidia-smi and nvidia-smi doesn't support RPM. this is a nvidia issue not conky.
Image

Post Reply

Return to “Compiz, Conky, Docks, & Widgets”