Translate

Conky para 2 x Intel Core2 Duo

Conky no Void Linux, hardware 2 x Intel Core2 Duo

Modelo de arquivo de configuração do Conky que utilizei no antigo PC desktop:

Mobo: ASUSTeK model: P5KPL-AM-CKD-VISUM-SI v: x.xx serial: MB-1234567890
CPU : Dual core Intel Core2 Duo E7300 (-MCP-) speed/max: 1596/2660 MHz
iGPU: Intel 82G33/G31 Express Integrated Graphics Controller

Para um modelo atual (6 x Intel i5-9400) e uma explicação de cada item:


Versão 2019-11-26:


conky.config = {
 use_xft = true,
 xftalpha = .8,
 font = 'verdana:size=8',
 update_interval = 1,
 total_run_times = 0,

 -- background = true,

 own_window = true,
 own_window_type = 'normal',
 own_window_transparent = true,
 own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
 own_window_colour = '000000',
 own_window_argb_visual = true,
 own_window_argb_value = 0,

 double_buffer = true,

 maximum_width = 270,
 minimum_width = 270,

 draw_shades= true,
 default_color= 'white',
 default_shade_color= 'black',

 -- draw_graph_borders= true,
 -- show_graph_range = true,
 show_graph_scale = true,

 alignment = 'bottom_left',
 gap_x = 10,
 gap_y = 10,
 -- no_buffers = true,
 text_buffer_size = 2048,
 cpu_avg_samples = 2,
 net_avg_samples = 2,
 override_utf8_locale = true,

}

conky.text = [[

${font verdana:pixelsize=32}KDE Neon${font}
$hr
${alignc}${font verdana:size=32}${time %H:%M}${font}
${alignc}${font verdana:pixelsize=18}${time %a, %d %b. %Y}${font}

${alignr}up  ${uptime}
$hr
${alignr}${nodename}
${execi 600 lsb_release -ds} (${execi 600 lsb_release -cs})
### Slackware ### ${execi 600 cat /etc/slackware-version}
###      Arch ### ${execi 600 hostnamectl | grep Operating | cut -c 21-30}
###   Sabayon ### ${execi 600 lsb_release -ds}
Kernel ${sysname} ${kernel}

# ${alignc} 120’’
${cpugraph cpu1 30,120} ${alignr}${cpugraph cpu2 30,120}
# CPU1: ${cpu cpu1}% ${alignr}CPU2: ${cpu cpu2}%
CPU1: ${cpu cpu1}% ${alignr}120’’               ${alignr}CPU2: ${cpu cpu2}%

${alignc}CPU  ${cpubar 6,120}  $cpu%

Mem  ${alignr}${mem} / ${memmax}  ${alignr}${membar 6,90}
Swap ${alignr}${swap} / ${swapmax}  ${alignr}${swapbar 6,90}

Buffers      ${alignr}$buffers               ${alignr}Free      ${alignr}${memfree}
Cache     ${alignr}$cached               ${alignr}Avail      ${alignr}${memeasyfree}

${if_existing /sys/class/hwmon/hwmon1/temp3_input}\
CPU ${alignr}${hwmon 0 temp 1}°C                     ${alignr}Vcore     ${alignr}${execi 10 sensors | grep -A 0 'Vcore' | cut -c 20-27}
MB ${alignr}${hwmon 0 temp 2}°C                      ${alignr}+3.3     ${alignr}${execi 10 sensors | grep -A 0 '+3.3 Voltage' | cut -c 20-27}
Core0    ${alignr}${hwmon 1 temp 2}°C              ${alignr}+5        ${alignr}${execi 10 sensors | grep -A 0 '+5 Voltage' | cut -c 20-27}
Core1    ${alignr}${hwmon 1 temp 3}°C            ${alignr}+12       ${alignr}${execi 10 sensors | grep -A 0 '+12 Voltage' | cut -c 20-27}

Fan  ${alignr}${hwmon 0 fan 1} rpm                 Freq. ${alignr} $freq   MHz\
${else}\
CPU ${alignr}${hwmon 1 temp 1}°C                     ${alignr}Vcore     ${alignr}${execi 10 sensors | grep -A 0 'Vcore' | cut -c 20-27}
MB ${alignr}${hwmon 1 temp 2}°C                      ${alignr}+3.3     ${alignr}${execi 10 sensors | grep -A 0 '+3.3 Voltage' | cut -c 20-27}
Core0    ${alignr}${hwmon 0 temp 2}°C              ${alignr}+5        ${alignr}${execi 10 sensors | grep -A 0 '+5 Voltage' | cut -c 20-27}
Core1    ${alignr}${hwmon 0 temp 3}°C            ${alignr}+12       ${alignr}${execi 10 sensors | grep -A 0 '+12 Voltage' | cut -c 20-27}

Fan  ${alignr}${hwmon 1 fan 1} rpm                 Freq. ${alignr} $freq   MHz\
${endif}

Down: ${downspeed enp1s0}/s ${alignr}Up: ${upspeed enp1s0}/s
${downspeedgraph enp1s0 30,120} $alignr${upspeedgraph enp1s0 30,120}
Total ${totaldown enp1s0} ${alignr}Total ${totalup enp1s0}
$hr
Proc              ${alignr}PID      CPU    Mem
                                  ${alignr}%        %
 ${top name 1} ${alignr}${top pid 1}   ${top cpu 1}   ${top mem 1}
 ${top name 2} ${alignr}${top pid 2}   ${top cpu 2}   ${top mem 2}
 ${top name 3} ${alignr}${top pid 3}   ${top cpu 3}   ${top mem 3}
 ${top name 4} ${alignr}${top pid 4}   ${top cpu 4}   ${top mem 4}
 ${top name 5} ${alignr}${top pid 5}   ${top cpu 5}   ${top mem 5}
 ${top name 6} ${alignr}${top pid 6}   ${top cpu 6}   ${top mem 6}
 ${top name 7} ${alignr}${top pid 7}   ${top cpu 7}   ${top mem 7}
 ${top name 8} ${alignr}${top pid 8}   ${top cpu 8}   ${top mem 8}
$hr
Sites    ${alignr}${fs_used /PATH/Sites} / ${fs_size /PATH/Sites}  ${alignr}${fs_bar 6,50 /PATH/Sites}
Works    ${alignr}${fs_used /PATH/Works} /  ${fs_size /PATH/Works}  ${alignr}${fs_bar 6,50 /PATH/Works}
XTudo    ${alignr}${fs_used /PATH/XTudo} /  ${fs_size /PATH/XTudo}  ${alignr}${fs_bar 6,50 /PATH/XTudo}
Armazem1 ${alignr}${fs_used /PATH/Armazem1} /  ${fs_size /PATH/Armazem1}  ${alignr}${fs_bar 6,50 /PATH/Armazem1}
Armazem2 ${alignr}${fs_used /PATH/Armazem2} /  ${fs_size /PATH/Armazem2}  ${alignr}${fs_bar 6,50 /PATH/Armazem2}
$hr
a1 Neon      ${alignr}${fs_used /PATH/Linux1} ${alignr}${fs_bar 6,40 /PATH/Linux1} ${alignr}${fs_used /PATH/Home1} ${alignr}${fs_bar 6,40 /PATH/Home1}
a2 Mageia    ${alignr}${fs_used /PATH/Linux2} ${alignr}${fs_bar 6,40 /PATH/Linux2} ${alignr}${fs_used /PATH/Home2} ${alignr}${fs_bar 6,40 /PATH/Home2}
a3 Debian    ${alignr}${fs_used /PATH/Linux3} ${alignr}${fs_bar 6,40 /PATH/Linux3} ${alignr}${fs_used /PATH/Home3} ${alignr}${fs_bar 6,40 /PATH/Home3}
b4 Kubuntu   ${alignr}${fs_used /PATH/Linux4} ${alignr}${fs_bar 6,40 /PATH/Linux4} ${alignr}${fs_used /PATH/Home4} ${alignr}${fs_bar 6,40 /PATH/Home4}
b5 o.Leap    ${alignr}${fs_used /PATH/Linux5} ${alignr}${fs_bar 6,40 /PATH/Linux5} ${alignr}${fs_used /PATH/Home5} ${alignr}${fs_bar 6,40 /PATH/Home5}
b6 PCLOS     ${alignr}${fs_used /PATH/Linux6} ${alignr}${fs_bar 6,40 /PATH/Linux6} ${alignr}${fs_used /PATH/Home6} ${alignr}${fs_bar 6,40 /PATH/Home6}
c7 Mint      ${alignr}${fs_used /PATH/Linux7} ${alignr}${fs_bar 6,40 /PATH/Linux7} ${alignr}${fs_used /PATH/Home7} ${alignr}${fs_bar 6,40 /PATH/Home7}
c8 Slack     ${alignr}${fs_used /PATH/Linux8} ${alignr}${fs_bar 6,40 /PATH/Linux8}  ${alignr}${fs_used /PATH/Home8} ${alignr}${fs_bar 6,40 /PATH/Home8}
c9 Arch      ${alignr}${fs_used /PATH/Linux9} ${alignr}${fs_bar 6,40 /PATH/Linux9} ${alignr}${fs_used /PATH/Home9} ${alignr}${fs_bar 6,40 /PATH/Home9}
10 Sabayon   ${alignr}${fs_used /PATH/Linux10} ${alignr}${fs_bar 6,40 /PATH/Linux10} ${alignr}${fs_used /PATH/Home10} ${alignr}${fs_bar 6,40 /PATH/Home10}
11 Kubuntu d ${alignr}${fs_used /PATH/Linux11} ${alignr}${fs_bar 6,40 /PATH/Linux11} ${alignr}${fs_used /PATH/Home11} ${alignr}${fs_bar 6,40 /PATH/Home11}
12 Devuan    ${alignr}${fs_used /PATH/Linux12} ${alignr}${fs_bar 6,40 /PATH/Linux12} ${alignr}${fs_used /PATH/Home12} ${alignr}${fs_bar 6,40 /PATH/Home12}
#  --- em cada distro, substituir sua linha por: ---
#  DISTRO    ${alignr}${fs_used /} ${alignr}${fs_bar 6,40 /} ${alignr}${fs_used /home} ${alignr}${fs_bar 6,40 /home}
]]

Nenhum comentário:

Postar um comentário