OK, this is the amazing script that nobody needs and that no one has been waiting for! 
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
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
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

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

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

Last edited: