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

JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

conky read out?

Post by JLloyd13 »

is there any way I can add a f@h monitor to my conky readout?
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: conky read out?

Post by Jesse_V »

By "conky" I assume you mean http://conky.sourceforge.net/ right? If so, it's open-source and thus very third-party. I have no idea how to add V7 to it.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

yes the open souce thrid party linux/unix conky. I'm just hoping for a wu readout so I can see how for along it is and that.
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

ok I found one. just for anyone that wants to know, it is:

${font sans-serif:bold:size=8}${color FF9900}FOLDING AT HOME ${hr 2}${font sans-serif:normal:size=8}${color
FFFF00}
${color yellow}${execi 15 cat /opt/foldingathome/1/FAHlog.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} % ${execbar echo "scale=2; $(cat /opt/foldingathome/1/FAHlog.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%')/100" | bc -q}

I found it on the ubuntu forums and did my own color coding and that.
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

problem. no progress is given, and on a restart of conky I get these errors:

jlloyd13@A880GZ ~ $ conky
Conky: forked to background, pid is 3481
jlloyd13@A880GZ ~ $
Conky: desktop window (1000022) is subwindow of root window (14f)
Conky: window type - desktop
Conky: drawing to created window (0x2a00001)
Conky: drawing to double buffer
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.txt: No such file or directory
(standard_in) 1: syntax error
cat: /opt/foldingathome/1/FAHlog.

my conky read out shows cpus at %100 (folding) but f@h readout shows nothing.
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

If /opt/foldingathome/1/FAHlog.txt dosn't exist where is my FAHlog.txt?
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

Anyone?
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: conky read out?

Post by calxalot »

I think V7 on linux uses
/var/lib/fahclient/log.txt
The log will look different than the fah6 FAHlog.txt.

You might want to check out net-fahclient as a command line monitoring tool to call from conky. Announcement thread is here.
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: conky read out?

Post by Jesse_V »

Conky is not mentioned a lot on this forum. search.php?keywords=conky but there may be some useful info on some of the older threads, idk.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

I have something that sort of works:

${font sans-serif:bold:size=8}${color FF9900}FOLDING AT HOME ${hr 2}${font sans-serif:normal:size=8}
${color yellow}${execi 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} % ${execbar echo "scale=2; $(cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%')/100" | bc -q}

the first part gives me a percentage fine but the second part won't give me a workin progress bar any ideas?
JLloyd13
Posts: 22
Joined: Fri May 04, 2012 7:59 pm

Re: conky read out?

Post by JLloyd13 »

fixed it!!!!

finial readout:

${font sans-serif:bold:size=8}${color FF9900}FOLDING AT HOME ${hr 2}${font sans-serif:normal:size=8}
${color yellow}Work Unit: ${execi 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %
${execibar 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'}

anyones welcome to take it.
sashmxm
Posts: 2
Joined: Tue Sep 27, 2016 5:04 am

Re: conky read out?

Post by sashmxm »

Hi!
How to adopted this conky command for dual GPU?
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: conky read out?

Post by bruce »

Somebody can rewrite HFM.Net for Linux. It's open-source, and the script above is a good start.
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 »

bruce,
hfm runs fine under mono on linux. running right now as a matter of fact!
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: conky read out?

Post by bruce »

I didn't know that. Wouldn't it provide the necessary display for clients with multiple slots?
Post Reply