F@H Monitor creation & Info from F@H files...
Moderator: Site Moderators
-
- Posts: 26
- Joined: Sun Apr 06, 2008 9:40 pm
- Location: Greece
- Contact:
F@H Monitor creation & Info from F@H files...
I am currently working on a Folding@Home monitor, written in C# (using MonoDevelop IDE), for Linux.
Can you tell me which information (and where i can find it) is provided through F@H files, so I can use it with my program???
WU name?
Points?
Frames?
Progress?
etc...
Is there any documentation concerning that? Can you provide me with any links?
Thnx in advance!!!
KEEP FOLDING!
Can you tell me which information (and where i can find it) is provided through F@H files, so I can use it with my program???
WU name?
Points?
Frames?
Progress?
etc...
Is there any documentation concerning that? Can you provide me with any links?
Thnx in advance!!!
KEEP FOLDING!
Non est vivere, sed valere vita est.
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
-
- Site Admin
- Posts: 1288
- Joined: Fri Nov 30, 2007 9:37 am
- Location: Oxfordshire, UK
Re: F@H Monitor creation & Info from F@H files...
Moved the 3rd party contribs
Much of this information is available in the queue.dat file, although not all.
Some info can be found in unitinfo.txt and others in FAHlog.txt
The documentation for queue.dat, and the source for qd which uses this file is available here: http://linuxminded.nl/
Various bits of "documentation" can also be found within the depths of the FahMon source, which I maintain (I use a combination of queue.dat and FAHlog.txt). This can be found here: http://fahmon.net
qd and FahMon also use external data sources such as http://fah-web.stanford.edu/psummary.html to track point values, and core names etc.
Both of the above pieces of software are GPL'd.
Much of this information is available in the queue.dat file, although not all.
Some info can be found in unitinfo.txt and others in FAHlog.txt
The documentation for queue.dat, and the source for qd which uses this file is available here: http://linuxminded.nl/
Various bits of "documentation" can also be found within the depths of the FahMon source, which I maintain (I use a combination of queue.dat and FAHlog.txt). This can be found here: http://fahmon.net
qd and FahMon also use external data sources such as http://fah-web.stanford.edu/psummary.html to track point values, and core names etc.
Both of the above pieces of software are GPL'd.
-
- Posts: 26
- Joined: Sun Apr 06, 2008 9:40 pm
- Location: Greece
- Contact:
Re: F@H Monitor creation & Info from F@H files...
When I try to open queue.dat with some text edito (e.g. gedit in Linux), I get the following message...
Do you have any idea why this happens??? Is it raw data or what?Could not open the file /home/drkameleon/foldingathome/CPU1/queue.dat using the Western (ISO-8859-15) character coding.
Non est vivere, sed valere vita est.
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
-
- Site Admin
- Posts: 1288
- Joined: Fri Nov 30, 2007 9:37 am
- Location: Oxfordshire, UK
Re: F@H Monitor creation & Info from F@H files...
It's not human-readable, no.drkameleon wrote:When I try to open queue.dat with some text edito (e.g. gedit in Linux), I get the following message...
Do you have any idea why this happens??? Is it raw data or what?Could not open the file /home/drkameleon/foldingathome/CPU1/queue.dat using the Western (ISO-8859-15) character coding.
The format is described here: http://linuxminded.nl/software/qd-tools ... index.html
-
- Posts: 26
- Joined: Sun Apr 06, 2008 9:40 pm
- Location: Greece
- Contact:
Re: F@H Monitor creation & Info from F@H files...
ok thnx fungus! I've figured it out!
Non est vivere, sed valere vita est.
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
-
- Posts: 471
- Joined: Mon Dec 03, 2007 6:20 am
- Location: Amsterdam
- Contact:
Re: F@H Monitor creation & Info from F@H files...
Many of the interesting files for monitoring purposes are described on the FAH Wiki too:drkameleon wrote:Can you tell me which information (and where i can find it) is provided through F@H files, so I can use it with my program???
http://fahwiki.net/index.php/FAH_files
The most interesting files being:
http://fahwiki.net/index.php/Queue.dat
http://fahwiki.net/index.php/Client.cfg
http://fahwiki.net/index.php/Unitinfo.txt
http://fahwiki.net/index.php/Wuinfo_XX.dat
http://fahwiki.net/index.php/Logfile_XX.txt
-
- Posts: 26
- Joined: Sun Apr 06, 2008 9:40 pm
- Location: Greece
- Contact:
Re: F@H Monitor creation & Info from F@H files...
Thnx guys!
@smoking : great resources
@fungus : the documentation for queue.dat, as well as the hexdump layout, is a real TREASURE for programmers! great! I am working on it and I hope my work will deliver interesting results REALLY soon.
@smoking : great resources
@fungus : the documentation for queue.dat, as well as the hexdump layout, is a real TREASURE for programmers! great! I am working on it and I hope my work will deliver interesting results REALLY soon.
Non est vivere, sed valere vita est.
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
-
- Posts: 26
- Joined: Sun Apr 06, 2008 9:40 pm
- Location: Greece
- Contact:
Re: F@H Monitor creation & Info from F@H files...
What you have already told me was REALLY useful...
One more question (for now...) :
By what means, and where from, can I import the current frame being processed?
Till now, the only way i've found out utilisable - even as far as total frames' calculation is concerned - is that "fahmon.wus" (am I mistaking sth?)
One more question (for now...) :
By what means, and where from, can I import the current frame being processed?
Till now, the only way i've found out utilisable - even as far as total frames' calculation is concerned - is that "fahmon.wus" (am I mistaking sth?)
Non est vivere, sed valere vita est.
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
-
- Posts: 471
- Joined: Mon Dec 03, 2007 6:20 am
- Location: Amsterdam
- Contact:
Re: F@H Monitor creation & Info from F@H files...
The progress of a WU is stored in work/wuinfo_??.dat, the work/logfile_??.txt, FAHlog.txt and unitinfo.txt.drkameleon wrote:By what means, and where from, can I import the current frame being processed?
All client monitors fetch the WU progress from one or more of these files. Check out the source code of some of them
Re: F@H Monitor creation & Info from F@H files...
You can use this link
http://fahwiki.net/index.php/Wuinfo_XX.dat
http://fahwiki.net/index.php/Wuinfo_XX.dat
-
- Posts: 14
- Joined: Sun Dec 02, 2007 7:32 pm
Re: F@H Monitor creation & Info from F@H files...
The hexdumps of queue.dat and wuinfo_XX.dat are probably the most reliable way of getting info about the current WU. unitinfo.txt and FAHlog.txt do provide a lot of information, but they can easily be messed up by the FAH client with some cores (fahlog by SMP, unitinfo by various cores)
When I was monitoring progress through the two text-based logs, I frequently ran into the error where the SMP client would not print a complete PRCG line in the log.
When opening the files in .NET just remember to use a BinaryReader instead of a normal reader.
When I was monitoring progress through the two text-based logs, I frequently ran into the error where the SMP client would not print a complete PRCG line in the log.
When opening the files in .NET just remember to use a BinaryReader instead of a normal reader.
-
- Posts: 26
- Joined: Sun Apr 06, 2008 9:40 pm
- Location: Greece
- Contact:
Re: F@H Monitor creation & Info from F@H files...
Thanks for everything guys!
* I converted the whole project in C++ and Qt 4
I promiss that in a few days, i' ll show what my project is about and upload the sources/binaries
Of course, I also hope you like it!
* I converted the whole project in C++ and Qt 4
I promiss that in a few days, i' ll show what my project is about and upload the sources/binaries
Of course, I also hope you like it!
Non est vivere, sed valere vita est.
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com
----------------------------------------------------
My blog ---> http://kameleon-nest.blogspot.com