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

conky read out?

Postby JLloyd13 » Wed Jul 04, 2012 9:08 pm

is there any way I can add a f@h monitor to my conky readout?
JLloyd13
 
Posts: 22
Joined: Fri May 04, 2012 8:59 pm

Re: conky read out?

Postby Jesse_V » Wed Jul 04, 2012 9:39 pm

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.
Jesse_V
Site Moderator
 
Posts: 2851
Joined: Mon Jul 18, 2011 5:44 am
Location: Western Washington

Re: conky read out?

Postby JLloyd13 » Thu Jul 05, 2012 12:29 am

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 8:59 pm

Re: conky read out?

Postby JLloyd13 » Thu Jul 05, 2012 12:37 am

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 8:59 pm

Re: conky read out?

Postby JLloyd13 » Thu Jul 05, 2012 12:54 am

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 8:59 pm

Re: conky read out?

Postby JLloyd13 » Thu Jul 05, 2012 12:55 am

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

Re: conky read out?

Postby JLloyd13 » Thu Jul 05, 2012 5:21 am

Anyone?
JLloyd13
 
Posts: 22
Joined: Fri May 04, 2012 8:59 pm

Re: conky read out?

Postby calxalot » Thu Jul 05, 2012 6:52 am

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.
calxalot
Site Moderator
 
Posts: 405
Joined: Sat Dec 08, 2007 2:33 am
Location: San Francisco

Re: conky read out?

Postby Jesse_V » Thu Jul 05, 2012 7:21 am

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.
Jesse_V
Site Moderator
 
Posts: 2851
Joined: Mon Jul 18, 2011 5:44 am
Location: Western Washington

Re: conky read out?

Postby JLloyd13 » Thu Jul 05, 2012 3:49 pm

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 8:59 pm

Re: conky read out?

Postby JLloyd13 » Fri Jul 06, 2012 3:23 am

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.
JLloyd13
 
Posts: 22
Joined: Fri May 04, 2012 8:59 pm

Re: conky read out?

Postby sashmxm » Sun Nov 17, 2019 3:50 pm

Hi!
How to adopted this conky command for dual GPU?
sashmxm
 
Posts: 1
Joined: Tue Sep 27, 2016 6:04 am

Re: conky read out?

Postby bruce » Sun Nov 17, 2019 9:05 pm

Somebody can rewrite HFM.Net for Linux. It's open-source, and the script above is a good start.
bruce
 
Posts: 19818
Joined: Thu Nov 29, 2007 11:13 pm
Location: So. Cal.

Re: conky read out?

Postby jimerickson » Sun Nov 17, 2019 9:43 pm

bruce,
hfm runs fine under mono on linux. running right now as a matter of fact!
jimerickson
 
Posts: 533
Joined: Wed May 28, 2008 12:56 am
Location: ames, iowa

Re: conky read out?

Postby bruce » Sun Nov 17, 2019 11:57 pm

I didn't know that. Wouldn't it provide the necessary display for clients with multiple slots?
bruce
 
Posts: 19818
Joined: Thu Nov 29, 2007 11:13 pm
Location: So. Cal.

Next

Return to 3rd party contributed software

Who is online

Users browsing this forum: No registered users and 2 guests

cron