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

Re: conky read out?

Postby jimerickson » Mon Nov 18, 2019 12:10 am

well i am currently remotely monitoring 16 gpus with it. these are multi-slot clients. seems to work fine for me.
jimerickson
 
Posts: 533
Joined: Wed May 28, 2008 12:56 am
Location: ames, iowa

Re: conky read out?

Postby pr0ti3n » Mon Apr 27, 2020 9:48 pm

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
User avatar
pr0ti3n
 
Posts: 16
Joined: Wed Apr 01, 2020 3:31 am
Location: @homefolding

Re: conky read out?

Postby HaloJones » Mon Apr 27, 2020 10:34 pm

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 '%'}
1x Titan X, 5x 1070, 1x 970, 1 x Ryzen 3600

Image
HaloJones
 
Posts: 853
Joined: Thu Jul 24, 2008 11:16 am

Re: conky read out?

Postby pr0ti3n » Mon Apr 27, 2020 11:12 pm

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.
User avatar
pr0ti3n
 
Posts: 16
Joined: Wed Apr 01, 2020 3:31 am
Location: @homefolding

Re: conky read out?

Postby HaloJones » Mon Apr 27, 2020 11:14 pm

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.
HaloJones
 
Posts: 853
Joined: Thu Jul 24, 2008 11:16 am

Previous

Return to 3rd party contributed software

Who is online

Users browsing this forum: No registered users and 0 guests

cron