PDA

View Full Version : md5crk PHP gui



dawithers
06-05-2004, 04:45 PM
I'm currently working on a PHP based md5crk gui much like the windows one that Digital Parasite created. I am using this to check the stats of my md5crk client that is running on my Linux server.

http://withers.sytes.net/~ender/md5crk/

I had to borrow some functions from phpsysinfo to get the system information stuff on there. It is reading all the md5crk information straight from the xml files that are in their original location.

I'm still working out the actual design and getting all the info to load up.

If anyone knows how to work with gd or graph generators for php and can point me in some direction that would be great!

Bok
06-05-2004, 04:55 PM
go here (http://www.advsofteng.com/)

to get chartdirector for php. It's pretty simple to implement and use...

Examples I've done on my stats are here (http://stats.open-dc.org/d2ol/userstats.php?name=Bok)

Bok

jlcooke
06-05-2004, 05:06 PM
Originally posted by Bok
go here (http://www.advsofteng.com/)

to get chartdirector for php. It's pretty simple to implement and use...

Examples I've done on my stats are here (http://stats.open-dc.org/d2ol/userstats.php?name=Bok)

Bok

Might I suggest BogoMIPS rating as well? memory usage (%age of total)

When I used to run seti, this was a good client: http://jlcooke.ca/seti/

Also look at DP's perl-cgi client... can't find the link now. I have to quit my job and do MD5CRK full time. ;)

dawithers
06-05-2004, 05:15 PM
Thanks a lot guys. With the phpsysinfo functions I can put in just about any hardware info you ever wanted to know. I'll throw in the bogomips and see wha t I can do for the memory usage.

I think i might have to steal that design from that seti one...

dawithers
06-05-2004, 07:43 PM
Take a look now! I have improved it quite a bit
Tell me what you think. I'm still looking for a way to have it generate graphs without having to install any extra serverside software, if that is possible.

http://withers.sytes.net/~ender/md5crk/

Darkness Productions
06-05-2004, 09:41 PM
Check out http://stats.dp.cx/md5crk.html for a version that will monitor multiple clients easily.

jlcooke
06-06-2004, 11:21 AM
Originally posted by dawithers
Take a look now! I have improved it quite a bit
Tell me what you think. I'm still looking for a way to have it generate graphs without having to install any extra serverside software, if that is possible.

http://withers.sytes.net/~ender/md5crk/

When I asked to list memory, I was hoping to see "md5crk using X KB (1% of total). But this is good too.

md5crk.com uses rrdtool for all it's graphs. it requires a bit of file maintainence and crob jobs. so this may not be what you want.

dawithers
06-06-2004, 12:16 PM
I figured that was what you wanted for the memory, but so far I am just using scripts from phpsysinfo for the hardware portion. Once I figure out a way to do it I will have it show the memory being used by md5crk and the amount of time the client has been running.

dawithers
06-06-2004, 08:40 PM
What information would I use, or how would I go about estimating the time remaining to complete a certain number of WUs?

jlcooke
06-07-2004, 11:35 AM
Originally posted by dawithers
What information would I use, or how would I go about estimating the time remaining to complete a certain number of WUs?

DP/sec = md5/sec * 2^32 md5/dp

sec/DP = 1 / (DP/sec)

sec to end of WU = DPs left * (sec/DP)

dawithers
06-07-2004, 05:58 PM
Originally posted by jlcooke
DP/sec = md5/sec * 2^32 md5/dp

sec/DP = 1 / (DP/sec)

sec to end of WU = DPs left * (sec/DP)

Wouldn't it be:

DP/sec = md5/sec / 2^32 md5/dp

sec/DP = 1 / (DP/sec)

sec to end of WU = DPs left * (sec/DP)

jlcooke
06-08-2004, 08:20 AM
Originally posted by dawithers
Wouldn't it be:

DP/sec = md5/sec / 2^32 md5/dp

sec/DP = 1 / (DP/sec)

sec to end of WU = DPs left * (sec/DP)

er, right. :blush:

Digital Parasite
06-09-2004, 08:04 AM
Originally posted by jlcooke
DP/sec = md5/sec * 2^32 md5/dp

Is it best to use 2^32 all the time or the average distance the client is actually seeing? One of my clients has a Max of 19 GigaMD5, and an average of 3.98 which is not too far off, but another client has an average of 2.7 which is quite a bit different.

Jeff.

jlcooke
06-09-2004, 07:59 PM
Originally posted by Digital Parasite
Is it best to use 2^32 all the time or the average distance the client is actually seeing? One of my clients has a Max of 19 GigaMD5, and an average of 3.98 which is not too far off, but another client has an average of 2.7 which is quite a bit different.

They've shown that MD5 is a statisticlly random function. So 2^32 is expected.

dawithers
06-20-2004, 06:20 PM
I just recently released md5crkPHPGUI v0.7 which now fully supports Linux and FreeBSD. It should also fully support OpenBSD and NetBSD, but I have been unable to test those. Other operating systems are supported but do not support the system information portion of the program, just the md5crk status information.

I run this on my linux server and I share my md5crk xml files over the network from my windows machines so that you can see the status of the md5crk clients on all my systems.

These are my machines (click to view stats):

Blue (Linux) (http://withers.sytes.net/~ender/md5crk/blue)
Red (Windows) (http://withers.sytes.net/~ender/md5crk/red)
Compaq (Windows) (http://withers.sytes.net/~ender/md5crk/compaq)
Laptop (Windows) (http://withers.sytes.net/~ender/md5crk/laptop)
Purple (Windows) (http://withers.sytes.net/~ender/md5crk/purple)

This is a machine running FreeBSD:
MD5CRK for synthparadox on Portal (http://synthparadox.mine.nu:28164/md5crk8/index.php)