conky read out?

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

jimerickson
Posts: 533
Joined: Tue May 27, 2008 11:56 pm
Hardware configuration: Parts:
Asus H370 Mining Master motherboard (X2)
Patriot Viper DDR4 memory 16gb stick (X4)
Nvidia GeForce GTX 1080 gpu (X16)
Intel Core i7 8700 cpu (X2)
Silverstone 1000 watt psu (X4)
Veddha 8 gpu miner case (X2)
Thermaltake hsf (X2)
Ubit riser card (X16)
Location: ames, iowa

Re: conky read out?

Post by jimerickson »

well i am currently remotely monitoring 16 gpus with it. these are multi-slot clients. seems to work fine for me.
pr0ti3n
Posts: 16
Joined: Wed Apr 01, 2020 2:31 am
Location: @homefolding

Re: conky read out?

Post by pr0ti3n »

Heres my conky:
Image

Code: Select all

background yes
use_xft yes
xftalpha 0
xftfont Terminus:size=8
text_buffer_size 256
override_utf8_locale yes
cpu_avg_samples 2
out_to_console no
own_window_transparent yes
xftalpha 0.8
update_interval 1
own_window yes
own_window_type override
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_width 1
default_color white
default_shade_color white
default_outline_color white
minimum_size 300 100
gap_x 10
gap_y 10
alignment top_left
use_spacer none
no_buffers yes
uppercase no

TEXT

${font Hack:style=Bold:pixelsize=20}${color}CPU Folding@Home Monitor ${hr}

${exec cat /proc/cpuinfo | grep 'model name' | uniq | cut -c 14-80}
Frequency (in MHz): $freq
Loadaverage: ${loadavg 1} ${loadavg 2} ${loadavg 3}
Running Process:  $running_processes /$processes

CPU1: ${cpu cpu1}%  ${exec sensors|grep 'Core 0'|awk '{print $3}'}
${cpugraph cpu1 30,300 0000b3 4d4dff}
CPU2: ${cpu cpu2}%  ${exec sensors|grep 'Core 1'|awk '{print $3}'}
${cpugraph cpu2 30,300 0000b3 4d4dff}

${exec grep -r WU01 /var/lib/fahclient/log.txt | tail -n 350 | grep Project | cut -f7-9 -d":"}

${exec grep -r WU01 /var/lib/fahclient/log.txt | tail -n 350 | grep Final | cut -f6 -d":"}

${exec tail -n 8 /var/lib/fahclient/log.txt | grep Completed | sed 's/[^Completed]*\(Completed.*\)/\1/'}
Image
HaloJones
Posts: 920
Joined: Thu Jul 24, 2008 10:16 am

Re: conky read out?

Post by HaloJones »

For two slots

Code: Select all

${font Ubuntu:bold:size=10}FOLDING@HOME MONITOR ${hr 2}
${font sans-serif:normal:size=8}Slot 1 Progress: ${execi 15 cat /var/lib/fahclient/log.txt | grep -E "FS00" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %
${font sans-serif:normal:size=8}Slot 1 Progress: ${execi 15 cat /var/lib/fahclient/log.txt | grep -E "FS01" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %
${execibar 15 cat /var/lib/fahclient/log.txt | grep -E "FS00" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'}
${execibar 15 cat /var/lib/fahclient/log.txt | grep -E "FS01" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'}
single 1070

Image
pr0ti3n
Posts: 16
Joined: Wed Apr 01, 2020 2:31 am
Location: @homefolding

Re: conky read out?

Post by pr0ti3n »

HaloJones wrote:For two slots

Code: Select all

${font Ubuntu:bold:size=10}FOLDING@HOME MONITOR ${hr 2}
${font sans-serif:normal:size=8}Slot 1 Progress: ${execi 15 cat /var/lib/fahclient/log.txt | grep -E "FS00" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %
${font sans-serif:normal:size=8}Slot 1 Progress: ${execi 15 cat /var/lib/fahclient/log.txt | grep -E "FS01" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %
${execibar 15 cat /var/lib/fahclient/log.txt | grep -E "FS00" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'}
${execibar 15 cat /var/lib/fahclient/log.txt | grep -E "FS01" | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'}
I like your execibar even better. Thanks.
Image
HaloJones
Posts: 920
Joined: Thu Jul 24, 2008 10:16 am

Re: conky read out?

Post by HaloJones »

pr0ti3n wrote:
I like your execibar even better. Thanks.
I found that on a forum and just added the first grep on the slot and doubled it up.

I have very little knowledge of how conky works but it's quite easy to fiddle someone else's clever ideas to make it work how I want.
single 1070

Image
Post Reply