Очень удобная программа, позволяет мониторить различные аспекты вашего компьютера

Устанавливаем

#pacman -S conky

Файл конфигурации находится тут /etc/conky/conky.conf

Смотрите внимательно конфиг, некоторые строки очень длинные, т.ч. были перенесены, не ошибитесь в том, какую строку вы поднимаете.

 

#!/usr/bin/conky -d -c

alignment top_right

background yes

border_margin 5

border_width 5

cpu_avg_samples 2

double_buffer yes

draw_borders no

draw_graph_borders no

draw_outline no

draw_shades no

gap_x 5

gap_y 40

max_specials 1024

max_user_text 10000

maximum_width 300

minimum_size 960

net_avg_samples 2

no_buffers yes

override_utf8_locale yes

own_window yes

own_window_colour 000000 # Black

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

own_window_transparent yes

own_window_type override ## normal

pad_percents 2 # to co nizej, miejsc po przecinku

short_units yes # krotka wersja podawania wielkosci dyskow np. 612.21M/3.80G

stippled_borders 3

text_buffer_size 8000

total_run_times 0

update_interval 1.0

uppercase no

use_spacer right

use_xft yes

xftalpha 0.75

xftfont sans:size=10

TEXT

${font led:size=11}${color #7f8ed3}${time %H:%M’%S %A %d %B %Y}${font}

${color #5b6dad}Kernel linux:$color ${alignr}${kernel} ${machine}

${color #5b6dad}Uptime:$color ${alignr} $uptime

${color #5b6dad}Conky version: ${color}${alignr}${conky_version}

 

${voffset -10}${color0}${font led:size=12}TEMPERATURE ${font}$hr

${color #5b6dad}Temp CPU Core 1: $alignr ${color #7f8ed3}${exec head -c 2 /sys/class/hwmon/hwmon1/temp2_input}°C

${color #5b6dad}Temp CPU Core 2: $alignr ${color #7f8ed3}${exec head -c 2 /sys/class/hwmon/hwmon1/temp3_input}°C

${color #5b6dad}Temp GPU: $alignr${color #7f8ed3}${exec head -c 2 /sys/class/hwmon/hwmon0/temp1_input}°C

${color #5b6dad}${exec hddtemp /dev/sda | awk -F: ‘{print $2}’ | cut -d» » -f2-}: $alignr${color #7f8ed3}${exec hddtemp /dev/sda | awk -F: ‘{print $3}’}

${color #5b6dad}${exec hddtemp /dev/sdb | awk -F: ‘{print $2}’ | cut -d» » -f2-}: $alignr${color #7f8ed3}${exec hddtemp /dev/sdb | awk -F: ‘{print $3}’}

 

${voffset -10}${color0}${font led:size=12}CPU / MEM / GPU ${font}$hr

${color #5b6dad}Core 1 load: ${color #7f8ed3}${cpu cpu1}% ${cpubar cpu1}

${color #5b6dad}Core 2 load: ${color #7f8ed3}${cpu cpu2}% ${cpubar cpu2}

 

${color #5b6dad}Ram:${color #7f8ed3} $memmax/$mem — $memperc% ${membar}

${color #5b6dad}Swap:${color #7f8ed3} $swapmax/$swap — $swapperc% ${swapbar}

${voffset -10}${color0}${font led:size=12}FILE SYSTEMS ${font}$hr

${color #5b6dad}boot: ${color #7f8ed3}${fs_size /boot/}/${fs_used /boot/} ${color #7f8ed3}${fs_bar /boot/}

${color #5b6dad}root: ${color #7f8ed3}${fs_size /}/${fs_used /} ${color #7f8ed3}${fs_bar /}

${color #5b6dad}share: ${color #7f8ed3}${fs_size /mnt/share/}/${fs_used /mnt/share/} ${color #7f8ed3}${fs_bar /mnt/share/}

${color #5b6dad}work: ${color #7f8ed3}${fs_size /mnt/work/}/${fs_used /mnt/work/} ${color #7f8ed3}${fs_bar /mnt/work/}

 

${voffset -10}${color0}${font led:size=12}NETWORK ${font}$hr

${color #000000}${downspeedgraph enp4s0 30,145 000000 7f8ed3} ${color #000000}${upspeedgraph enp4s0 30,145 000000 7f8ed3}

${color #5b6dad}Down:${color #7f8ed3} ${downspeed enp4s0} ${color #5b6dad}${goto 170}Up:${color #7f8ed3} ${upspeed enp4s0}

${color #5b6dad}Day: ${color #7f8ed3} ${totaldown enp4s0} ${color #5b6dad} ${goto 170}Day:${color #7f8ed3} ${totalup enp4s0}

${color #5b6dad}Month: ${color #7f8ed3}${execi 300 vnstat -i enp4s0 | grep «`date +»‘%y»`» | tail -1 | awk ‘{print $3 $4}’}${color #5b6dad}${goto 170}Month: ${color #7f8ed3}${execi 300 vnstat -i enp4s0 | gre$

${color #5b6dad}Lan IP: $alignr ${color #7f8ed3}${addr enp4s0}

${color #5b6dad}Gateway: $alignr ${color #7f8ed3}${gw_ip}

${color #5b6dad}DNS: $alignr ${color #7f8ed3}${exec tail /etc/resolv.conf | grep nameserver | cut -d» » -f2-}

${color #5b6dad}Public IP: ${alignr}${color #7f8ed3} ${curl ifconfig.me}

${color #5b6dad}TCP Connections: ${color #7f8ed3}${tcp_portmon 1 65535 count}

 

${voffset -10}${color0}${font led:size=12}PROCESSES ${font}$hr

${color}NAME $alignr PID CPU

${color #7f8ed3}${top name 1} $alignr ${top pid 1} ${top cpu 1}%

${color #7f8ed3}${top name 2} $alignr ${top pid 2} ${top cpu 2}%

${color #7f8ed3}${top name 3} $alignr ${top pid 3} ${top cpu 3}%

${color #7f8ed3}${top name 4} $alignr ${top pid 4} ${top cpu 4}%

${color0}$hr

${color}NAME $alignr PID MEM%

${color #7f8ed3}${top_mem name 1}$alignr ${top_mem pid 1} ${top_mem mem 1}%

${color #7f8ed3}${top_mem name 2}$alignr ${top_mem mem 2}%

${color #7f8ed3}${top_mem name 3}$alignr ${top_mem mem 3}%

${color #7f8ed3}${top_mem name 4}$alignr ${top_mem mem 4}%

${color0}$hr

${color}NAME $alignr PID HDD

${color #7f8ed3}${top_io name 1} $alignr ${top_io pid 1}

${color #7f8ed3}${top_io name 2} $alignr ${top_io pid 2}

${color #7f8ed3}${top_io name 3} $alignr ${top_io pid 3}

${color #7f8ed3}${top_io name 4} $alignr ${top_io pid 4}

${color0}$hr

${color #5b6dad}Processes:${color #7f8ed3} $processes ${color #5b6dad}Running:${color #7f8ed3} $running_processes