SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-08-29 19:40:43

rebornmechanics
#! CrunchBanger
Registered: 2012-11-05
Posts: 176

[SOLVED] Conky and incorrect RAM usage

conky.config = {
background = true,
font =  "monofur:size=12",
use_xft = true,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_type = "override",
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager",
double_buffer = true,
minimum_width = 250,
maximum_width = 250,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = "cccccc",
alignment = "top_right",
gap_x = 20,
gap_y = 60,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 1,
override_utf8_locale = true,
short_units = true,
}

conky.text = [[
${color 1793D1}System${color} ${hr}
Host:$alignr$nodename
Kernel:${alignr}${kernel}
Uptime:$alignr$uptime_short

${color 1793D1}CPU${color}${alignc}      ${freq} MHz$alignr${acpitemp}°C
Core 1 ${alignr 60}${cpu cpu1}%${alignr 50}Core 2 ${alignr}${cpu cpu2}%
${cpubar cpu1 4,120} ${cpubar cpu2 4,120}
${loadgraph 3257F4 3257F4}
${top name 1}$alignr${top cpu 1} %
${top name 2}$alignr${top cpu 2} %
${top name 3}$alignr${top cpu 3} %
${top name 4}$alignr${top cpu 4} %
${top name 5}$alignr${top cpu 5} %

${color 1793D1}RAM ${color} ${alignr}$memmax 
Active: ${alignr}$mem ($memperc%)
${membar 4}

${color 1793D1}Disk${color}
Root: ${alignr}${fs_used /} / ${fs_size /}
${fs_bar 4 /}
${if_existing /proc/net/route enp9s0}
${color 1793D1}Ethernet ${color} ${alignr}${addr enp9s0}
${voffset 6}${font PizzaDude Bullets:size=11}U${font}${voffset -2} ${downspeed enp9s0}/s ${alignr}(${totaldown enp9s0})
${downspeedgraph enp9s0 3257F4 3257F4}
${font PizzaDude Bullets:size=11}O${font}${voffset -2} ${upspeed enp9s0}/s ${alignr}(${totalup enp9s0})
${upspeedgraph enp9s0 3257F4 3257F4}$color
${else}${if_existing /proc/net/route wlp12s0}
${color 1793D1}Wifi ${color} ${alignr}${addr wlp12s0}
SID:${alignc}${wireless_essid wlp12s0}${alignr}${wireless_link_qual_perc wlp12s0}%
${voffset 6}${font PizzaDude Bullets:size=11}U${font}${voffset -2} ${downspeed wlp12s0}/s ${alignr}(${totaldown wlp12s0})
${downspeedgraph wlp12s0 3257F4 3257F4}
${font PizzaDude Bullets:size=11}O${font}${voffset -2} ${upspeed wlp12s0}/s ${alignr}(${totalup wlp12s0})
${upspeedgraph wlp12s0 3257F4 3257F4}$color
${endif}${endif}#

${if_existing /sys/class/power_supply/BAT0/present}#
${color 1793D1}Battery ${color}
Status:${alignr}${battery BAT0}
${battery_bar 4 BAT0}
${alignr}${battery_time BAT0}
${endif}
]]

Last edited by rebornmechanics (2015-08-31 20:27:18)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-08-29 20:45:36

Nili
#! Die Hard
From: 127.0.0.1
Registered: 2013-03-20
Posts: 811
Website

Re: [SOLVED] Conky and incorrect RAM usage

free -m

Last edited by Nili (2015-08-29 20:46:18)

Offline

#3 2015-08-29 20:57:33

rebornmechanics
#! CrunchBanger
Registered: 2012-11-05
Posts: 176

Re: [SOLVED] Conky and incorrect RAM usage

I've tried free -m (and free -h for that matter) and I get results that correspond with neither htop nor conky.
I wouldn't care if this was consistent across all my machines. What really bugs me is that my Laptop acts out and even continues to do so after I created a new user.
This makes me mistrust the whole installation, because I've been using it for almost 3 years and, to my knowledge, it started doing that today. Also the general RAM usage (conky figures) is about 50MB higher than usual and I don't know why.

So, what do you say? Scorched earth? Or is there a logical explanation somewhere?

Thanks in advance for any pointers,

Last edited by rebornmechanics (2015-08-29 20:59:15)

Offline

#4 2015-08-29 21:02:11

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED] Conky and incorrect RAM usage

Offline

#5 2015-08-29 21:19:15

rebornmechanics
#! CrunchBanger
Registered: 2012-11-05
Posts: 176

Re: [SOLVED] Conky and incorrect RAM usage

cat /proc/meminfo

Offline

#6 2015-08-29 21:29:33

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: [SOLVED] Conky and incorrect RAM usage

Last edited by PackRat (2015-08-29 21:30:43)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#7 2015-08-29 21:57:24

rebornmechanics
#! CrunchBanger
Registered: 2012-11-05
Posts: 176

Re: [SOLVED] Conky and incorrect RAM usage

Offline

#8 2015-08-30 02:43:19

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: [SOLVED] Conky and incorrect RAM usage


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#9 2015-08-30 08:49:25

Nili
#! Die Hard
From: 127.0.0.1
Registered: 2013-03-20
Posts: 811
Website

Re: [SOLVED] Conky and incorrect RAM usage

  Installed: 1.9.0-6
  Candidate: 1.9.0-6
  Version table:
 *** 1.9.0-6 0
        500 http://ftp.us.debian.org/debian/ jessie/main i386 Packages
        100 /var/lib/dpkg/status

Offline

#10 2015-08-30 18:43:47

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: [SOLVED] Conky and incorrect RAM usage

@nili - thanks

@rebornmechanics - I duplicated the issue on another computer running conky 1.10.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#11 2015-08-30 20:33:28

rebornmechanics
#! CrunchBanger
Registered: 2012-11-05
Posts: 176

Re: [SOLVED] Conky and incorrect RAM usage

Offline

#12 2015-08-30 20:35:48

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: [SOLVED] Conky and incorrect RAM usage

I think you can.

I also changed

no_buffers = true,

to

no_buffers = false,

and the conky 1.10 RAM usage matched up with "free -m".

I don't know if this is a bug in conky 1.10 or the developers just changed the way they calculated RAM usage; either way, looks like a conky 1.10 issue.

Last edited by PackRat (2015-08-31 01:18:01)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo