Page 10 of 12

Re: My modified version of MX-MyConky

Posted: Thu Jan 23, 2025 10:40 pm
by i_ri
Okay siamhie
This is Your 24 multicore trying a different if statement. see if it shows the right cores (?)
the zip is your multicore24.

file withdrawn; error found.

Re: My modified version of MX-MyConky

Posted: Thu Jan 23, 2025 10:45 pm
by i_ri
siamhie "If you're trying to use the conky I built for AVLinux (24 cores), "
no. it conspicuously not your conky 24. the code is in the post. it is a conky just for the testing of the if statement outcome validity.

Re: My modified version of MX-MyConky

Posted: Thu Jan 23, 2025 11:36 pm
by siamhie
i_ri wrote: Thu Jan 23, 2025 10:45 pm siamhie "If you're trying to use the conky I built for AVLinux (24 cores), "
no. it conspicuously not your conky 24. the code is in the post. it is a conky just for the testing of the if statement outcome validity.
I'm not using cpugraph, I'm using lua gradbar.

Re: My modified version of MX-MyConky

Posted: Fri Jan 24, 2025 1:52 am
by i_ri
${if_match "${cpu cpu3}"!="0"}${cpubar cpu3}${endif}

an example. once a cpuN is qualified to show the [lua cpu]bar.
when zero, then the bar frame disappears; seeing a bar frame border means not empty; vacant is zero not showing bar.

Re: My modified version of MX-MyConky

Posted: Fri Jan 24, 2025 4:58 am
by asqwerth
i_ri wrote: Thu Jan 23, 2025 10:45 pm siamhie "If you're trying to use the conky I built for AVLinux (24 cores), "
no. it conspicuously not your conky 24. the code is in the post. it is a conky just for the testing of the if statement outcome validity.
I posted a few times in this thread my attempts at a mega-combined conky trying to combine all of siamhie's conkies to address all the different numbers of cores. I was using the

$if_match [ ] = [no of cores] ...[then display the following] ... $endif

structure.

However, I think it was confusing people posting in this thread, and I only have 4-core machines. So I will start a new thread and let everyone focus on siamhie's efforts and trial conkies in this thread. When I do start my thread, I will refer to this thread since I relied on his different conkies to position my memperc bar for each different number of cores.


I haven't yet started my thread because I've encountered a weird issue which is that when I only had 2 scenarios addressed in the if_match sections, the bottom network section -- which should not be affected by the if_match sections -- worked fine. But when I squeezed in 7 to 8 scenarios, I got strange network results showing up [my ethernet connection was detected as wlan0. Reproduced on 2 machines]. When I compared the 2 conkies in meld just in case there were typos, the network section for both conkies were exactly the same, which is puzzling. I'm wondering if there is a maximum limit on the number of if_match scenarios I can include in a conky.

Anyway, you can look for my posts in this thread, but my mega conky here will have that network display problem. It also does not address what happens if your number of cores does not match any of the if_match sections I included.

Re: My modified version of MX-MyConky

Posted: Fri Jan 24, 2025 9:27 am
by siamhie
i_ri wrote: Thu Jan 23, 2025 10:40 pm Okay siamhie
This is Your 24 multicore trying a different if statement. see if it shows the right cores (?)
the zip is your multicore24.
I get this with your conky. A lot of info is missing and some of the code looks out of place. (there shouldn't be two temp values under CPU for instance)
quickshot_250124_062125.jpg

Re: My modified version of MX-MyConky  [Solved]

Posted: Fri Jan 24, 2025 9:44 am
by siamhie
After working on this for a week and finally getting the fuzziness sorted out due to a PEBKAC moment,
I have decided to release a multiple conky version and let the user decide which one to select.

Currently there are 8 conky's to choose from. 2, 4, 6, 8, 12, 16, 20 and 24 core CPU's. Included is a readme
to find out the CPU temp needed to display correctly as it is only looking in the hwmon0 directory and not
all CPU's land there. (mine shows up in hwmon3)

MX-MultiCore.tar.zst.zip


Here it is in action when I was creating a 6.13 shapshot.
MX-MultiCore.jpg

@asqwerth feel free to use this as a template for your mega-conky.

Re: My modified version of MX-MyConky

Posted: Fri Jan 24, 2025 10:51 am
by asqwerth
@siamhie

Thanks! I've downloaded your zip file. Hopefully I will have time to work on my conky a little bit more.

Re: My modified version of MX-MyConky

Posted: Fri Jan 24, 2025 11:22 am
by siamhie
asqwerth wrote: Fri Jan 24, 2025 10:51 am @siamhie

Thanks! I've downloaded your zip file. Hopefully I will have time to work on my conky a little bit more.
@asqwerth Looking forward to checking yours out. I'll keep an eye out for that thread.

Re: My modified version of MX-MyConky

Posted: Fri Jan 24, 2025 4:34 pm
by i_ri
siamhie thanks for the image. It got as far as ten cores. it did not get to sixteen.(probably a <sort> problem.)
For Your instance the lua path to allcombined needs adjusting. (my full path is stuck-in; change.)
Getting to ten cores is encouraging.