Results 1 to 4 of 4

Thread: [SOLVED] Conky

  1. #1
    Join Date
    Jun 2008
    Beans
    202

    Question [SOLVED] Conky

    Hey all, I'm trying to set up conky to use this configuration file, but I'm running into errors. When I try to execute conky it tells me that conky is trying to use more CPU than i have. But I don't see why it would require more than 100% of my CPU. Any idea's?

    Message: "Conky: attempting to use more CPUs then you have!"

    Code:
    background no
    font Sans:size=8
    #xftfont Sans:size=10
    use_xft yes
    xftalpha 0.9
    update_interval 3.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 220 5
    maximum_width 220
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color green
    alignment top_right
    gap_x 12
    gap_y 35
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    uppercase yes # set to yes if you want all text to be in uppercase
    
    TEXT
    ${color white}SYSTEM ${hr 1}${color}
    
    Hostname: $alignr$nodename
    Kernel: $alignr$kernel
    Uptime: $alignr$uptime
    Temp: ${alignr}${acpitemp}C
    
    CPU: ${alignr}${freq} MHz
    Processes: ${alignr}$processes ($running_processes running)
    Load: ${alignr}$loadavg
    
    CPU1 ${alignr}${cpu cpu1}%
    ${cpubar 4 cpu1}
    CPU2 ${alignr}${cpu cpu2}%
    ${cpubar 4 cpu2}
    
    Ram ${alignr}$mem / $memmax ($memperc%)
    ${membar 4}
    swap ${alignr}$swap / $swapmax ($swapperc%)
    ${swapbar 4}
    
    Highest CPU $alignr CPU% MEM%
    ${top name 1}$alignr${top cpu 1}${top mem 1}
    ${top name 2}$alignr${top cpu 2}${top mem 2}
    ${top name 3}$alignr${top cpu 3}${top mem 3}
    
    Highest MEM $alignr CPU% MEM%
    ${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
    ${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
    ${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
    
    ${color white}Filesystem ${hr 1}${color}
    
    Root: ${alignr}${fs_free /} / ${fs_size /}
    ${fs_bar 4 /}
    Home: ${alignr}${fs_free /home} / ${fs_size /home}
    ${fs_bar 4 /home}
    HDD0: ${alignr}${fs_free /media/HDD0} / ${fs_size /media/HDD0}
    ${fs_bar 4 /media/HDD0}
    HDD1: ${alignr}${fs_free /media/HDD1} / ${fs_size /media/HDD1}
    ${fs_bar 4 /media/HDD1}
    HDD2: ${alignr}${fs_free /media/HDD2} / ${fs_size /media/HDD2}
    ${fs_bar 4 /media/HDD2}
    HDD3: ${alignr}${fs_free /media/HDD3} / ${fs_size /media/HDD3}
    ${fs_bar 4 /media/HDD3}
    
    ${color white}NETWORK ${hr 1}${color}
    
    Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
    ${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
    Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
    
    ${color white}WEATHER ${hr 1}${color}
    
    ${execi 1800 /home/sasquath/Scripts/weather.sh SWXX0006}

  2. #2
    Join Date
    May 2005
    Location
    Cydonia
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Conky

    It's not that Conky thinks you're using more than 100% of your CPU...it thinks you have more than 1 CPU. Remove the lines

    Code:
    ${top name 2}$alignr${top cpu 2}${top mem 2}
    ${top name 3}$alignr${top cpu 3}${top mem 3}
    and it should work.

  3. #3
    Join Date
    Aug 2008
    Location
    Sea of Discontent
    Beans
    170

    Re: Conky

    This also

    CPU2 ${alignr}${cpu cpu2}%
    ${cpubar 4 cpu2}

  4. #4
    Join Date
    Jun 2008
    Beans
    202

    Re: Conky

    Ohh, that makes sense. Thank you both

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •