LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2023, 01:02 PM   #5146
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33

@SCerovec

Is there a reason why CPU3 is missing?

Last edited by triplum.fm; 06-04-2023 at 01:07 PM.
 
Old 06-04-2023, 02:19 PM   #5147
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,480
Blog Entries: 2

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Thumbs up

Quote:
Originally Posted by Gialo View Post
@SCerovec

Is there a reason why CPU3 is missing?
Excellent catch!

Yes, the reason is - an omission .

Working on it as we speak!

Prize for You:
~/.config/conky/conky.conf
Code:
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
]]

conky.config = {
    background = no,
    use_xft = yes,
    font = "-*-dejavu sans-medium-r-*-*-10-*-*-*-*-*-*-*",
    xftalpha = 0.5,
    update_interval = 4.0,
    total_run_times = 0,
    own_window = true,
    own_window_title = 'conky sysmon',
    own_window_type = 'normal',
    own_window_class = 'conky-semy',
    own_window_hints = 'undecorated,sticky,skip_pager',
    own_window_transparent = false,
    own_window_argb_visual = true,
    own_window_argb_value = 108,
    double_buffer = false,
    minimum_width = 220,
    maximum_width = 220,
    default_shade_color = 'gray',
    default_outline_color = 'gray',
    draw_shades = false,
    draw_outline = false,
    draw_borders = false,
    border_width = 0,
    draw_graph_borders = yes,
    default_color = 'grey',
    color0 = 'darkgray',
    color1 = 'cyan',
    color2 = 'orange',
    color3 = 'white',
    alignment = 'top_right',
    gap_x = 12,
    gap_y = 10,
    no_buffers = yes,
    uppercase = no,
    pad_percents = 2,
    show_graph_units = yes,
    show_graph_scale= yes,
    short_units = yes,
    cpu_avg_samples = 2,
    if_up_strictness = 'link',
    override_utf8_locale = no,
    template0 = [[${exec .config/conky/extdisk.sh}]],
    custom = test,
    nvidia_gpu = 0
}

conky.text = [[
${color3}Slackwareaarch64 $color2 15.1 $color0 $kernel on $machine
Hostname $alignr $nodename
Uptime $alignr $uptime
${color2}DATA PROCESSING${color0} ${freq_g 0} GHz $alignr ${cpu cpu0}%
${cpugraph cpu0}
${color3}ACPI:${color0} FAN:${acpifan} $alignr TEMP: ${acpitemp} C
#${color3}HwMon: ${color0} package $alignr ${hwmon 0 temp 0} C
#${color0} cores: $alignr ${hwmon 0 temp 0} C
#${color3}HwMon: ${color0} fan 1 $alignr ${hwmon 1 fan 1} RPM
#${color3}HwMon: ${color0} fan 2 $alignr ${hwmon 1 fan 2} RPM
 ${color3}CPU0: ${freq_g 1}GHz ${color0} ${cpu cpu1}% $alignr ${color3}CPU1: ${freq_g 2}GHz ${color0} ${cpu cpu2}% 
${cpubar cpu1 6,105}  $alignr  ${cpubar cpu2 6,105}
 ${color3}CPU2: ${freq_g 3}GHz ${color0} ${cpu cpu3}% $alignr ${color3}CPU3: ${freq_g 4}GHz ${color0} ${cpu cpu4}% 
${cpubar cpu3 6,105} $alignr ${cpubar cpu4 6,105}
 ${color3}CPU4: ${color0} ${freq_g 5} GHz $alignr ${cpu cpu5}% 
${cpubar cpu5}
 ${color3}CPU5: ${color0} ${freq_g 6} GHz $alignr ${cpu cpu6}% 
${cpubar cpu6}
 ${color3}CPU6: ${color0} ${freq_g 7} GHz $alignr ${cpu cpu7}% 
${cpubar cpu7}
 ${color3}CPU7: ${color0} ${freq_g 8} GHz $alignr ${cpu cpu8}% 
${cpubar cpu8}
$processes processes ($running_processes running)
System Load $alignr $loadavg
$loadgraph
#${color2}DATA VISUALIZATION $color0$alignc ${nvidia memutil} / ${nvidia memmax} $alignr ${nvidia gpuutil}%
#${nvidiabar gpuutil}
#${nvidiagraph gpuutil}
${color2}DATA ACCESSING $color0$alignc $mem / $memmax $alignr $memperc%
$membar
${color2}DATA STORAGE $color0
 ${color3}transfer${color0} $alignr R:${diskio_read}/W:${diskio_write} 
${diskiograph}
 ${color3}<root>${color0} $alignc ${fs_size /}: ${fs_used /} / ${fs_free /} $alignr ${fs_free_perc /}% 
${fs_bar /}
 ${color3}/home${color0} $alignc ${fs_size /home}: ${fs_used /home} / ${fs_free /home} $alignr ${fs_free_perc /home}% 
${fs_bar /home}
 ${color3}swap${color0} $alignc $swap: $swapmax /$swapfree $alignr $swapperc% 
${swapbar}
#${color3}/tmp${color0} $alignc ${fs_size /tmp}: ${fs_used /tmp} / ${fs_free /tmp} $alignr ${fs_free_perc /tmp}%
#${fs_bar /tmp}
#${color2}AUDIBLE DATA [${color0}${audacious_status}${color2}] $alignr${color0} ${audacious_playlist_position}/${audacious_playlist_length}
#${color3}${audacious_title 32} $alignr${color1} ${audacious_position}/${audacious_length}${color0}
#${audacious_bar}
${color2}DATA TRANSMSSION $color0 ${gw_iface}
 ${color3}inet${color0}  $alignr${color1} ${execi 10800 .config/conky/extip.sh}${color0}${if_up wwan0}
 ${color3}wwan0${color0} $alignr${color1} ${addr wwan0}
  ${color3}Inbound${color0} $alignr ${downspeed wwan0} kb/s
 ${downspeedgraph wwan0}
  ${color3}Outbound${color0} $alignr ${upspeed wwan0} kb/s
 ${upspeedgraph wwan0}${endif}${if_up wlan0}
 ${color3}WiFi${color0} ${wireless_link_qual_perc wlan0} % @ ${wireless_bitrate wlan0} $alignr <<${wireless_essid}>>
  ${wireless_link_bar wlan0}
  ${color3}wlan0${color0} $alignr${color1} ${addr wlan0}
  ${color3}Inbound${color0} $alignr ${downspeed wlan0} kb/s
 ${downspeedgraph wlan0}
  ${color3}Outbound${color0} $alignr ${upspeed wlan0} kb/s
 ${upspeedgraph wlan0}${endif}${if_up eth0}
 ${color3}eth0${color0}  $alignr${color1} ${addr eth0}
  ${color3}Inbound${color0} $alignr ${downspeed eth0} kb/s
 ${downspeedgraph eth0}
  ${color3}Outbound${color0} $alignr ${upspeed eth0} kb/s
 ${upspeedgraph eth0}${endif}${if_up eth1}
 ${color3}eth1${color0}  $alignr${color1} ${addr eth1}
  ${color3}Inbound${color0} $alignr ${downspeed eth1} kb/s
 ${downspeedgraph eth1}
  ${color3}Outbound${color0} $alignr ${upspeed eth1} kb/s
 ${upspeedgraph eth1}${endif}${if_up eth2}
 ${color3}eth2${color0}  $alignr${color1} ${addr eth2}
  ${color3}Inbound${color0} $alignr ${downspeed eth2} kb/s
 ${downspeedgraph eth2}
  ${color3}Outbound${color0} $alignr ${upspeed eth2} kb/s
 ${upspeedgraph eth2}${endif}${if_up bnep0}
 ${color3}bnep0${color0}  $alignr${color1} ${addr bnep0}
  ${color3}Inbound${color0} $alignr ${downspeed bnep0} kb/s
 ${downspeedgraph bnep0}
  ${color3}Outbound${color0} $alignr ${upspeed bnep0} kb/s
 ${upspeedgraph bnep0}${endif}
${color2}RUNNING $color0
 NAME $alignr PID    CPU
 ${color3}${top name 1}${color0} $alignr ${top pid 1} ${color1}${top cpu 1} 
 ${color3}${top name 2}${color0} $alignr ${top pid 2} ${color1}${top cpu 2} 
 ${color3}${top name 3}${color0} $alignr ${top pid 3} ${color1}${top cpu 3} 
 ${color3}${top name 4}${color0} $alignr ${top pid 4} ${color1}${top cpu 4} 
 ${color3}${top name 5}${color0} $alignr ${top pid 5} ${color1}${top cpu 5} 
]]
Do note the discrepancy between the CPU index in the comments versus as the parameter:
We historically like to call the CPUs from zero to n, however conky understands the CPU0 as the virtual "integrated" CPU accounting for all the cores, thus counting cores from number 1 just like lua arrays start any way...

Further, there are intentional blank spaces on several line ends.

Last edited by SCerovec; 06-04-2023 at 02:41 PM. Reason: Added the corrected conky.conf
 
1 members found this post helpful.
Old 06-04-2023, 04:01 PM   #5148
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33
Quote:
Originally Posted by SCerovec View Post
Excellent catch!

Yes, the reason is - an omission .

Working on it as we speak!

Prize for You:
~/.config/conky/conky.conf
Wow, thank you! I've never won anything in my life.

No doubt, it's an awesome conky.conf. But I'm all about GKrellm 'cause it gives me all the info in the tightest space. I'm into keeping it simple and low-key. I've tried Conky here and there, but the display area is way too big for my taste.
 
1 members found this post helpful.
Old 06-04-2023, 04:31 PM   #5149
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,480
Blog Entries: 2

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Quote:
Originally Posted by Gialo View Post
Wow, thank you! I've never won anything in my life.

No doubt, it's an awesome conky.conf. But I'm all about GKrellm 'cause it gives me all the info in the tightest space. I'm into keeping it simple and low-key. I've tried Conky here and there, but the display area is way too big for my taste.
I was an avid gkrellm advocate, but eventually went to the other camp due to more liberal layout support - and of course text only mode all in one package.

Once properly set up gkrellm is surprisingly light on system resources! And on top of that you can run a remote server (gkrellmd) and have quite few systems displayed locally.

With all above in mind, do try this very conky config as it addresses most of the shortcomings i found with the original conky:
  1. You get a proper app button on the task bar,
  2. The window type is normal window so it stacks up and down normally,
  3. The sticky bit is set so it shows on all work spaces,
  4. Transparency works on most systems properly,
  5. The timing is paced so even slow CPUs aren't as burdened as per default,
  6. The config adopts the configured network interfaces as they go up and down

All You miss are the helper scripts (posted by me earlier in this very thread)

I can't promise You will love it, but i promise fun and hacking for at least a while
 
1 members found this post helpful.
Old 06-05-2023, 01:00 AM   #5150
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33
Quote:
Originally Posted by SCerovec View Post

I can't promise You will love it, but i promise fun and hacking for at least a while

You can't teach an old dog new Tricks

Alright, you got me. I'll give it a shot tomorrow at some point. I've been using Slackware and Gkrellm forever, and I prefer sticking to stuff I'm familiar with. Transparency ain't a big deal for me either. I always need the info right there, and I can do that with Gkrellm without havin' to move windows around.

Like I said, I'm more of a laid-back kind of person who believes that less is more. Having too many fancy features can make you miss out on stuff like CPU3 ..
 
Old 06-05-2023, 03:17 AM   #5151
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,480
Blog Entries: 2

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Quote:
Originally Posted by Gialo View Post
You can't teach an old dog new Tricks

Alright, you got me. I'll give it a shot tomorrow at some point. I've been using Slackware and Gkrellm forever, and I prefer sticking to stuff I'm familiar with. Transparency ain't a big deal for me either. I always need the info right there, and I can do that with Gkrellm without havin' to move windows around.

Like I said, I'm more of a laid-back kind of person who believes that less is more. Having too many fancy features can make you miss out on stuff like CPU3 ..
Interesting, You seem to tick all my check marks

What bothered me with gkrellm vs conky (the one of very few advantages conky has) was transparency - to be as fast gkrellm obviously made a trade off and as my CPUs became ever more beefed up (CPU3 included) i ever more gave in to the lust for transparency over the need for speed.

Perhaps Moo0 had a role in it too, as i was somehow using Windows 7 and Slackware in parallel for the time. I'm off that inferior OS since a while now thanks goodness!
 
Old 06-05-2023, 11:27 AM   #5152
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33
Quote:
Originally Posted by SCerovec View Post
What bothered me with gkrellm vs conky (the one of very few advantages conky has) was transparency -
Gkrellm may not have transparency anymore, but with the right theme, wallpaper, and transset, you can still make it look pretty cool. As you can see in the picture, I've kept Gkrellm really small.
Attached Thumbnails
Click image for larger version

Name:	today8.jpg
Views:	129
Size:	63.7 KB
ID:	41150  
 
4 members found this post helpful.
Old 06-05-2023, 11:41 AM   #5153
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 709
Blog Entries: 1

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by Gialo View Post
Gkrellm may not have transparency anymore, but with the right theme, wallpaper, and transset, you can still make it look pretty cool. As you can see in the picture, I've kept Gkrellm really small.
Slackware 15.5 LTS
 
1 members found this post helpful.
Old 06-05-2023, 12:22 PM   #5154
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
GKrellM is pretty cool, I used it alone for over a decade and sometimes combine it with Conky like trying to monitor short term, fast drive access, but GKrellM is limited to customization with pre-rendered stuff like skins and selecting functions from a very limited list. Virtually any data you can get from command line, like STDOUT and STDIN. or nvidia-settings can be monitored and displayed however you wish with Conky. Yes it uses a bit more in resources but GKrellM was written and is basically unchanged since the Pentium 3 with 512MB RAM. If you trade in your 100hp KIA for a 300hp Dodge Ram truck are you gonna just limit transport to one passenger and a few bags of groceries?
 
Old 06-05-2023, 02:38 PM   #5155
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33
Quote:
Originally Posted by enorbet View Post
GKrellM is pretty cool, I used it alone for over a decade and sometimes combine it with Conky like trying to monitor short term, fast drive access, but GKrellM is limited to customization with pre-rendered stuff like skins and selecting functions from a very limited list. Virtually any data you can get from command line, like STDOUT and STDIN. or nvidia-settings can be monitored and displayed however you wish with Conky. Yes it uses a bit more in resources but GKrellM was written and is basically unchanged since the Pentium 3 with 512MB RAM. If you trade in your 100hp KIA for a 300hp Dodge Ram truck are you gonna just limit transport to one passenger and a few bags of groceries?
Gkrellm was developed to display relevant hardware values, and that's exactly what it does. I have a 13.3-inch laptop with exclusively Intel hardware. So tell me, what can Conky do better than Gkrellm on my hardware? I don't see any significant advantages. No doubt, Conky is great, but its design isn't suitable for small laptops.
 
1 members found this post helpful.
Old 06-05-2023, 02:48 PM   #5156
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33
Quote:
Originally Posted by rizitis View Post
Slackware 15.5 LTS
LTS = "Linux - The Source"

Thank you, Google.
 
1 members found this post helpful.
Old 06-05-2023, 03:05 PM   #5157
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 709
Blog Entries: 1

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by Gialo View Post
LTS = "Linux - The Source"

Thank you, Google.
If we have Slackware 15.1 this year, there is a chance to have Slackware 15.5 about 2027-2030.
So
if you have 15.5 now ; then
LTS = (very very...) Long Term Support
fi
 
2 members found this post helpful.
Old 06-05-2023, 04:07 PM   #5158
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Quote:
Originally Posted by Gialo View Post
Gkrellm was developed to display relevant hardware values, and that's exactly what it does. I have a 13.3-inch laptop with exclusively Intel hardware. So tell me, what can Conky do better than Gkrellm on my hardware? I don't see any significant advantages. No doubt, Conky is great, but its design isn't suitable for small laptops.
Did you interpret my post as a slam against GKrellM? It wasn't. No one thing is good for every thing. I pointed out that I still employ GKrellM after having used it for decades (I started using Slackware ~1999). Conky just provides more customizable options and features, that's all. Perhaps you and many others have never once looked at stdin/stdout/stderr or anything outside of what GKrellM monitors. That's fine but I don't see how conky fails to be of any value to small laptops.

I rarely ever use any laptops but one I do sometimes use isn't as small of a screen as yours (mine's 15.4 but screen size isn't an issue for either since both are scale-able)) but it's over 16 years old sporting a 2.8GHz Core 2 Duo and a whopping, maxed out 8GB RAM so not exactly a powerhouse by today's standards (I bought it used for $100) and I don't find conky to be problematic in any way at all. Whatever twirls ur beanie, right?

Last edited by enorbet; 06-05-2023 at 04:13 PM.
 
Old 06-05-2023, 09:01 PM   #5159
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by Gialo View Post
Gkrellm may not have transparency anymore, but with the right theme, wallpaper, and transset, you can still make it look pretty cool. As you can see in the picture, I've kept Gkrellm really small.
I'm not in to eye strain.

I prefer GKrellM. I have tried Conky in the past, just prefer GKrellM, partly because it's movable. This is my current desktop. Aside from the wall paper it been this way for years.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20230606_095910.jpeg
Views:	94
Size:	251.5 KB
ID:	41152  
 
5 members found this post helpful.
Old 06-06-2023, 05:32 AM   #5160
triplum.fm
Registered User
 
Registered: Mar 2023
Posts: 60

Rep: Reputation: 33
Quote:
Originally Posted by enorbet View Post
Did you interpret my post as a slam against GKrellM? It wasn't. No one thing is good for every thing. I pointed out that I still employ GKrellM after having used it for decades (I started using Slackware ~1999). Conky just provides more customizable options and features, that's all. Perhaps you and many others have never once looked at stdin/stdout/stderr or anything outside of what GKrellM monitors. That's fine but I don't see how conky fails to be of any value to small laptops.

I rarely ever use any laptops but one I do sometimes use isn't as small of a screen as yours (mine's 15.4 but screen size isn't an issue for either since both are scale-able)) but it's over 16 years old sporting a 2.8GHz Core 2 Duo and a whopping, maxed out 8GB RAM so not exactly a powerhouse by today's standards (I bought it used for $100) and I don't fin ind conky to be problematic in any way at all. Whatever twirls ur beanie, right?
No worries, I didn't take it as an attack. I already said, Conky is definitely an awesome tool. The omly thing that bugs me is that when I have 4 windows open, I gotta keep moving 1-2 windows around just to read Conky. It's not suitable for small displays. If I had a monitor bigger than 24 inhes, things would obviously be different. Gkrellm remains a genius option for small laptops. You said it, tastes can vary. Thank goodness... imagine if we all fell in love with the same woman?
 
  


Reply

Tags
background, cwm, dwm, framebuffer, gnome, gui, i3, ion3, kde, monitor, musca, screenshot, tmux, wallpaper, xfce4, xterm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Desktop on Slackware? darkhatter Slackware 3 10-10-2006 12:26 PM
Slackware 10.0 with NO Desktop NiPP Linux - Newbie 2 01-02-2006 10:43 AM
3d desktop on Slackware k1ll3r_x Linux - Software 1 09-20-2005 10:47 PM
Desktop Slackware s0no Slackware 5 12-04-2004 11:20 AM
I can't get my desktop in Slackware 10 DraGoNsLaYeR Linux - Newbie 1 06-27-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration