Re: conky read out?
Posted: Sun Nov 17, 2019 11:10 pm
well i am currently remotely monitoring 16 gpus with it. these are multi-slot clients. seems to work fine for me.
Community driven support forum for Folding@home
https://foldingforum.org/
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/'}
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.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 found that on a forum and just added the first grep on the slot and doubled it up.pr0ti3n wrote:
I like your execibar even better. Thanks.