Fahcheck-0.9 Folding@Home Status Monitor

Soldato
Joined
16 Dec 2005
Posts
14,443
Location
Manchester
OK, this is the amazing script that nobody needs and that no one has been waiting for! :D

In a nutshell this script checks on your SMP client* to see if it is running. It does this in one of two ways.

First, if you have finstalled your client, it will use the pre-existing "folding" script to check on the client's status. Fahcheck also looks at the amount of CPU being used by the client processes. If these aren't as high as expected, the client is restarted using the "folding" script again.

If you haven't finstalled your client, fahcheck will check the CPU load as per above. The script will manually stop and start the client.

I was up until gone 3am last night finishing this script and also testing it along the way. I have also spent a considerable amount of time this morning reworking parts of the script [to give more informative output] and I have also been writing the README. I am pleased to say so far I haven't come across any errors on my last few tests.

However, as with anything more complex than 'echo "hello world"' something will undoubtedly be amiss, which is where you brave souls come in :D

I invite anyone to try out the script on their own Linux and let me know what you think - and also report any bugs.

Here is the download link for the script itself and also a README which has more details on the functioning on the script. It also has a full list of step-by-step instructions on making this script work.

www.aeternum.co.uk/fahcheck-0.9a.tgz

Once you have downloaded the file you can decompress it using

Code:
tar xvzf fahcheck-0.9a.tgz

or with Ubuntu's file manager program. [Right-click on the file and choose "Open with "Archive Manager""]

The tarball has two files, fahcheck-0.9 and README.

@uncle_fungus:

As usual I would love your thoughts on this script. I did send you a version last night via email but I have since made a few changes, so you can ignore the email's attachment :D
 
Last edited:
SiriusB said:
@uncle_fungus:

As usual I would love your thoughts on this script. I did send you a version last night via email but I have since made a few changes, so you can ignore the email's attachment :D

Darn it, let see how they tally up with the changes I offered about 5 minutes ago ;)

Hehe, you're going to get mail again in about 5 minutes :)
 
Oh damn. I closed my Thunderbird earlier and forgot to turn it back on.

If there are changes to be made I will take down the current version and upload the patched one.

Sorry for messing everyone about. Blame him. :p
 
I'll give it a whirl later, although, with the demise of my network router I suspect the SMP client will sail on non stop, for all eternity.
 
I get a 404 after clicking the link. And if I download it by saving the link I get

gzip: stdin: not in gzip format
tar: Child returned status 1
when i try to untar it.
 
Sorry for the delay, in the middle of getting ready to go out.

Give me 10-15 minutes while I update the README and I will upload the new file.

Mr Fungus has tested it and it didn't do him any harm! :p

EDIT: OK I fixed the README - didn't need changing much. I have updated the link in the OP.

Let me know how it goes. I will be leaving in about 45 minutes and probably wont be home again until the wee small hours so it might have to wait until the morning before I can field and questions.
 
Last edited:
Seems to be working fine here

davy@davy-ubuntu:~/Downloads/fahcheck$ ./fahcheck-0.9 -m
Manual Mode has been selected

Starting CPU Load Check. This will take 5 minutes

18:45 Client status is: OK

davy@davy-ubuntu:~/Downloads/fahcheck$
 
Back
Top Bottom