PDA

View Full Version : Web based results.txt monitor



magnav0x
12-07-2003, 03:59 PM
I noticed a couple of you guys said you were interested in starting to run DPAD. I figured I'd put this small PHP script out for you other guys that may find some use for it. I used it to monitor one of my Linux boxes when I was running the project. The script will display all results from the results.txt file and at the bottom of the page it shows Total Results, Best Yield Percentage, and Total Particles in the results.txt file.

Setup example:
DPAD Client is located in /opt/unixmuon/
Create a symlink to the results.txt file in your apache htdoc folder:

ln -s /opt/unixmuon/results.txt /var/www/html/results.txt

Put muonresults.php in /var/www/html/

The output isn't exactly eye candy, as it was a put together in about 3 minutes, you are welcome to make any changes to the script you like.

You can view it in action @ http://www.technosapiens.cc/muonresults.php