FahProgress: A micro monitoring tool for win

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

Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

@francois

Thanks for the offer! I'll sent you the text file via Forum-Mail ;)
--
Image
francois
Posts: 59
Joined: Sun Dec 02, 2007 3:41 pm
Location: Québec - Canada
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by francois »

About the screen position remembering:
I use a digital flat panel (1440x900) and FaHprogress doesn't start at the same place (far right) it was closed.
It starts nearer the center of the screen (horizontally).
The vertical position seems to be okay though.
Image
Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

You are right.. I added a function for checking the actual screen-resolution and set the x/y pos minus a security-tolerance. I think I'll deactivate this in future versions. Unfortunately I cant sent you the textfiles for translation at the moment. I'm on vacation the next 8 days. I'll post/mail you again when I'm back.

Stefan
--
Image
francois
Posts: 59
Joined: Sun Dec 02, 2007 3:41 pm
Location: Québec - Canada
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by francois »

No hurry!

Nice vacation!

Best,
François
Image
francois
Posts: 59
Joined: Sun Dec 02, 2007 3:41 pm
Location: Québec - Canada
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by francois »

Hi again Stefan.
What's the interval between FahProgress updates of the WU progress?
My FahMon is set at 5 minutes, and FahProgress lags behind it with its numbers.

Best regards,
François
Image
Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

Hi !

I`m back! :D

Hmm. There is no interval between the updates. But it seems that the unitinfo.txt isn't updated
at the same time as clients % console output. I verified this with other monitoring applications.

If you want to check if FahProgress runs proper, copy a unitinfo.txt to a new directory. Add this
directory to FahProgress as a new client (fahprogress only checks for the unitinfo). Then edit the
section with "Progress" - for example changing the value from "55%" to ""70%".
FahProgress should update immediately!

Best regards,
Stefan
--
Image
MtM
Posts: 1579
Joined: Fri Jun 27, 2008 2:20 pm
Hardware configuration: Q6600 - 8gb - p5q deluxe - gtx275 - hd4350 ( not folding ) win7 x64 - smp:4 - gpu slot
E6600 - 4gb - p5wdh deluxe - 9600gt - 9600gso - win7 x64 - smp:2 - 2 gpu slots
E2160 - 2gb - ?? - onboard gpu - win7 x32 - 2 uniprocessor slots
T5450 - 4gb - ?? - 8600M GT 512 ( DDR2 ) - win7 x64 - smp:2 - gpu slot
Location: The Netherlands
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by MtM »

Vulcan_TBB wrote:Hi !

I`m back! :D

Hmm. There is no interval between the updates. But it seems that the unitinfo.txt isn't updated
at the same time as clients % console output. I verified this with other monitoring applications.

If you want to check if FahProgress runs proper, copy a unitinfo.txt to a new directory. Add this
directory to FahProgress as a new client (fahprogress only checks for the unitinfo). Then edit the
section with "Progress" - for example changing the value from "55%" to ""70%".
FahProgress should update immediately!

Best regards,
Stefan
Hi there.

Question 1 - which language is it coded in?
Question 2 - If it's any .net language, you're using a filesystemwatcher to monitor unitinfo.txt? Then you should have it monitor the folder with this mask "*.txt" as it then will pick up any write to fahlog as well, and you can use an internal timer to quit looping through the update process when fahlog.txt is being written to continueusly ( as when downloading/uploading, start or end of project ). I'm willing to help you with that if you want.

Marvin :)

*Edit: Also if you want some help with parsing fahlog.txt instread of unitinfo I wouldn't mind helping you there either :)
Greg C. TNO
Posts: 1
Joined: Fri Oct 31, 2008 3:11 pm

Re: FahProgress: A micro monitoring tool for win

Post by Greg C. TNO »

Thanks Vulcan, I find this simple to use and useful. I like that I can watch other boxen across the network. I put it in my startup folder so it loads right away.

Wie Gehts? Ich war in die 'Byteboosters' kurtz vor 'Boinc', durch die 'Seti zeit', (jahre 1998?) Hat Stefen die cyber cafe jetz?
Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

Hey Greg!

Cool to meet you again! Thanks for your praise... ;)

I wrote you a PM here in the forum ... !

Stefan
--
Image
MtM
Posts: 1579
Joined: Fri Jun 27, 2008 2:20 pm
Hardware configuration: Q6600 - 8gb - p5q deluxe - gtx275 - hd4350 ( not folding ) win7 x64 - smp:4 - gpu slot
E6600 - 4gb - p5wdh deluxe - 9600gt - 9600gso - win7 x64 - smp:2 - 2 gpu slots
E2160 - 2gb - ?? - onboard gpu - win7 x32 - 2 uniprocessor slots
T5450 - 4gb - ?? - 8600M GT 512 ( DDR2 ) - win7 x64 - smp:2 - gpu slot
Location: The Netherlands
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by MtM »

It's kind of rude to ignore people who offer you help don't you think?

Marvin
Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

Whoops... Sorry Marvin!
I was not my intention to ingore you! I was writing PM to you, but only saved it as a draft.. :-/

So here is my answer... *g*

Hi there.

FaHProgress is coded in PureBasic. The reason why I've choosen it: Its easy to code, you can code quick'n dirty (my first personal realease of FahProgress was done in 45 minutes), it needs no runtime enviroment, can easily be compiled for linux an mac and, im a fan of procedural programming. :-) Have you ever tried Purebasic?

In my coding, I`m using ReadFile() to open the unitinfo.txt. I'm looping an internal table with the client path information - the parsing is easily done with Findstring().

Stefan
--
Image
MtM
Posts: 1579
Joined: Fri Jun 27, 2008 2:20 pm
Hardware configuration: Q6600 - 8gb - p5q deluxe - gtx275 - hd4350 ( not folding ) win7 x64 - smp:4 - gpu slot
E6600 - 4gb - p5wdh deluxe - 9600gt - 9600gso - win7 x64 - smp:2 - 2 gpu slots
E2160 - 2gb - ?? - onboard gpu - win7 x32 - 2 uniprocessor slots
T5450 - 4gb - ?? - 8600M GT 512 ( DDR2 ) - win7 x64 - smp:2 - gpu slot
Location: The Netherlands
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by MtM »

Vulcan_TBB wrote:Whoops... Sorry Marvin!
I was not my intention to ingore you! I was writing PM to you, but only saved it as a draft.. :-/

So here is my answer... *g*

Hi there.

FaHProgress is coded in PureBasic. The reason why I've choosen it: Its easy to code, you can code quick'n dirty (my first personal realease of FahProgress was done in 45 minutes), it needs no runtime enviroment, can easily be compiled for linux an mac and, im a fan of procedural programming. :-) Have you ever tried Purebasic?

In my coding, I`m using ReadFile() to open the unitinfo.txt. I'm looping an internal table with the client path information - the parsing is easily done with Findstring().

Stefan
PureBasic I do not know, I been looking at realBasic for cross platform application development but I found it to limited to do exactly what I want to do.

It's funny btw, try to open the fahlog.txt with .net and you get a 'file in use by another process' in your face :( Parsing unitinfo is indeed the quickest way, and afaik now all clients should properly update it. Parsing fahlog once at startup for your project info, and then only when changed for getting progress isn't that hard though either. How does it notice that the content of the file has changed? Does it have an equivalent of a filesystemwatcher?

Now that I read about you using purebasic for this because it will work on both linux and windows, I think me offering help should actually be turned around and maybe ask you for some help. I'm writing a log parser in vb.net which has the only task to record wu's so one can look for eue rates on diffrent projects with all the right info at hand. I use some wmi to get hw info and am able to parse the logfiles without to much problems but .net seems to have problems the logfiles directly ( have to make a copy, parse that, delete the copy ). My thread about it is located in a section I'm not sure you have acces to.

Someone just knocked on my door, can't even properly finish the post : in short, what I was making is prety straightforward text parsing as well, and maybe I need to step away from .net and use realbasic or purebasic as it will run on all os's. Though it seems reading the logfiles over the network isn't a problem..

Sorry to cut it short, g2g :oops:
Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

Hi!

I hope we won't get to OT here...
MtM wrote:...It's funny btw, try to open the fahlog.txt with .net and you get a 'file in use by another process' in your face :(
Wouldn't it be possible to open the file read-olny? Purebasic does not have these limitations.
MtM wrote:Does it have an equivalent of a filesystemwatcher?
I first had to look what a filesystemwatcher does. :)- Maybe you want to check the Purebasic Help index for filesystem operations here:
http://www.purebasic.com/documentation/ ... index.html
MtM wrote:...problems the logfiles directly ( have to make a copy, parse that, delete the copy ). My thread about it is located in a section I'm not sure you have acces to.
MtM wrote:and use realbasic or purebasic as it will run on all os's. Though it seems reading the logfiles over the network isn't a problem..
You can download a demo of PureBasic here: http://www.purebasic.com/download.php3

I'm not an .net expert - But will try to help if I can. Maybe better via PM... ;)

Best wishes,
Stefan
--
Image
Flycatchr
Posts: 23
Joined: Mon Oct 27, 2008 9:31 am
Hardware configuration: vista home premium 64 bit
xfx 8300 mobo
9800GTX+ (0.5 gig, PCIe 2.0, ddr3)
8 gigs ram ddr2 800
amd Phenome 9750 quad core
Location: South Africa
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Flycatchr »

how about having the "C1, C2 etc" OR the %bar in colur, IE - green for an nvidia client, red for ATI client, black for cpu etc ??, then the fields dont have to be much larger?

gonna DL it now and try it :)
team grrr.co.za
team stats - http://kakaostats.com/t.php?t=152864
Vulcan_TBB
Posts: 28
Joined: Wed Sep 10, 2008 9:11 am
Hardware configuration: #1 AMD Athlon 64 X2 6000+ (1 x Win SMP)
#2 Intel P3 1.8 Ghz (1x Win CPU)
#3 Intel P4 2.8 Ghz (2x Win CPU)
#4 AMD Athlon XP 3200+ (1x Win CPU)
#5 ATI Radeon HD 3650 (1x GPU)
#6 AMD Athlon 64 X2 4600+ (1 x Win SMP)
#7 Intel P4 3.0 Ghz (2x Win CPU)
#8 AMD Athlon XP 1800+ (1x Win CPU)
#9 Intel C2 Duo E6600 (2 x Win CPU)
Location: 11° 3' 13.19" E 49° 43' 36.11" N
Contact:

Re: FahProgress: A micro monitoring tool for win

Post by Vulcan_TBB »

Cool Idea! :D

That should be easy to implement! :)
--
Image
Post Reply