Nethence Newdoc Olddoc Lab Your IP BBDock  

Setting up Conky

Check how many cores you got, so you adapt the following conf accordingly,

grep ^proc /proc/cpuinfo

Also check the names of your network devices and adapt accordingly,

ifconfig -a

Install Conky,

sudo apt install conky-all conky curl lm-sensors hddtemp

Configure the shit,

vi ~/.conkyrc

#98FB98 E35656 -t -l
temperature_unit celsius
top_cpu_separate yes

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
use_xft yes
xftfont Bitstream Vera Sans:size=10
update_interval 1
total_run_times 0
alignment tr
double_buffer yes
no_buffers yes
uppercase no
net_avg_samples 10
diskio_avg_samples 10
#override_utf8_locale yes

TEXT

$nodename - $sysname $kernel $machine
$hr
Users $user_names
Uptime $uptime
Processes $processes / Running $running_processes
Threads $threads

Load $loadavg
${loadgraph 50,300 98FB98 E35656 6 -t -l}

Cores ${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% @${freq_g}GHz
${cpugraph cpu1 25,300 98FB98 E35656 -t -l}
${cpugraph cpu2 25,300 98FB98 E35656 -t -l}
${cpugraph cpu3 25,300 98FB98 E35656 -t -l}
${top name 1} ${top pid 1} ${top cpu 1}
${top name 2} ${top pid 2} ${top cpu 2}
${top name 3} ${top pid 3} ${top cpu 3}
${top name 4} ${top pid 4} ${top cpu 4}
${top name 5} ${top pid 5} ${top cpu 5}

RAM $mem / $memmax ${membar}
Swap $swap / $swapmax ${swapbar}
${memgraph 50,300 98FB98 E35656 -t -l}
${top_mem name 1} ${top_mem pid 1} ${top_mem mem 1}
${top_mem name 2} ${top_mem pid 2} ${top_mem mem 2}
${top_mem name 3} ${top_mem pid 3} ${top_mem mem 3}
${top_mem name 4} ${top_mem pid 4} ${top_mem mem 4}
${top_mem name 5} ${top_mem pid 5} ${top_mem mem 5}

lo (up/down) ${upspeed lo} / ${downspeed lo}
${upspeedgraph   lo     25,149 98FB98 E35656 1000000 -l -t} ${downspeedgraph lo     25,149 98FB98 E35656 1000000 -l -t}
enp2s0 (up/down) ${upspeed enp2s0} / ${downspeed enp2s0}
${upspeedgraph   enp2s0 25,149 98FB98 E35656 1000000 -l -t} ${downspeedgraph enp2s0 25,149 98FB98 E35656 1000000 -l -t}
internet (up/down) ${upspeed enp2s0} / ${downspeed enp2s0}
${upspeedgraph   enp2s0 25,149 98FB98 E35656 70 -l -t} ${downspeedgraph enp2s0 25,149 98FB98 E35656 700 -l -t}
# 888888 E35656

Disk I/O write ${diskio_write} / read ${diskio_read}
${diskiograph_write 50,149 98FB98 E35656 -t -l} ${diskiograph_read 50,149 98FB98 E35656 -t -l}

Filesystem Usage
/ ${fs_used /}/${fs_size /} $alignr${fs_used_perc /}%
${fs_bar /}

/data/ ${fs_used /data/}/${fs_size /data/} $alignr${fs_used_perc /data/}%
${fs_bar /data/}

Note.

Refs.

Test run,

conky

Enable at startup,

Start > Startup Applications
name: conky
command: conky -d

References


Home | GitHub | Donate