- Joined
- Jun 20, 2001
- Location
- Vancouver, WA
Project is dead.
I currently don't have the time to continue making updates, and with almost no interest in it anymore, I declare this project dead. If there are any perl hackers out there who want to use my code feel free, but please let me know that you are using it. I may not be updating it, but I still would love to see who finds it useful
Lastest Version: BOINC / Classic Script 0.30 (10/26/05)
User Data Courtesy BOINCStats .
~~~~~~~~~~~~~~~~~~~
Christoph recently created a lovely Perl script which is able to find / get statistics for the Folding and SETI teams, and then upload this data into their sig. His thread regarding this script can be found here, and includes instructions on getting Perl (to run the script), setting the script up, etc.
Unfortunatly, with it's presence in the Folding section, it dosen't get much visibility from us SETI guys This thread was created as a SETI specific version of the original thread, where you could download the latest BOINC/Classic script, get fast(er) help with making the script do your bidding, as well as provide a place for feature requests. This version of the script has lots of neat additional features (such as the data gathered from BOINCStats) and is now THE sig script for the team
Christoph's original thread (linked above) is still an excelent resource for getting Perl and the scripts to work, and I would suggest reading through it if you have the time (or posting in it if you still have problems).
That said...
~~~~~~~~~~~~~~~~~~~
Step 1:
To save myself from repeating what has already been written, see Christoph's excelent post HERE. It contains instructions on obtaining perl, installing his mksig.pl file, etc. It has a brief overview of how Perl works, and how to get your sig stats working and updated automatically. You may wish to use the simple SETI stats script he has in the post before using my (rather complex one) just to verify that everything is working properly.
Step 2:
Download the following file (right click -> "Save As"), and save it to your C:\mksig directory with the filename sig_gen.pl. If you are asked wether you would like to replace an existing file, click Yes.
sig_gen.pl
This code (when run) will generate a sig which looks similar to the following:
Crunching.for.Overclockers.com!
Team Rank: 26th________________98,583.89 Total SETI Credit
World Rank: 1,536th___________________1,499.08838 Recent Average Credit
Currently Visible Work As Of 02/16/2005 at 20:31.
{>>>>>__________}__33%____ [goddess: Athlon XP 1800+]
{>>>>>>>>>>>>___}__78%____ [Crackerjack: mobile Athlon XP 1500+]
{>>>>>>>>>>>____}__72%/29% [Nacho: Mobile Pentium 4 2.80GHz]
Step 3:
Modify the code Now, I know what you're thinking.... How in the heck are you supposed to know what to modify in that huge 977 line monstrosoty of code?? Well, everything that you need to change is all in the first few lines, and should be fairly simple to change.
You need to modify:
That's It!!
...Unless you want to further modify the code so that it looks different. Christoph's post (linked above) covers the basics of how to work with Perl should you want to tweak the code on your own. All the variables that the program creates and sets to various values are listed just below the setup portion for step 3. The actual code which creates the sig is located near the bottom of the sig, just before all the subs.
If you've made a modification to the display code, by all means post it up so others can have more of a choice in how their sig looks! (since, even though I like my scheme, some may want simpler or different stats covered )
~~~~~~~~~~~~~~~~~~~
If you have any questions, comments, or requests, post away!
Change Log:
0.11 - Fixed buggy SETI World Rank variable, Fixed "long" SETI RAC display (now only displays first 5 digits of RAC)
0.12 [3/18/05] - (Hopefully) Fixed the script from dying if the machine running the script does not have RPC privlages on the remote system. Since the program will only display the first 2 "active" WUs it comes across right now, it now shows the two RUNNING active projects. Updated progress bar generator to incorporate the neat multiple charachter progress bar that JerMe made. Updated to work with the new official BOINC 4.25 XML data. Fixed two XML bugs.
0.13 [3/28/05] - Fixed a bug that caused "World Rank" to not display because of a change in BOINCstats.com's stat format. Added a bit more documentation.
0.14 [3/31/05] - Log file added for debugging aid, sig_gen gracefully dies when a classic e-mail isn't found
0.15 [6/27/05] - Various bug fixes and graphical tweaks. Hopefully fixed RPC calls for some systems.
0.16 [8/10/05] - BOINCStats layout fix and additional stats.
0.20 [8/28/05] - Fixed spelling error, changed RPC mechanism (should no longer freeze script if BOINC denies RPC), new BOINCStats code (this should be the last version ), additional projects, additional stats for projects.
0.30 [10/26/05] - Added code to allow sig_gen to connect to a passworded client (ALL 5.x clients are passworded on install, making this a very nesscary feature).
Wish List / Bugs To Be Fixed: (feel free to post or PM features you'd like to see!)
JigPu
I currently don't have the time to continue making updates, and with almost no interest in it anymore, I declare this project dead. If there are any perl hackers out there who want to use my code feel free, but please let me know that you are using it. I may not be updating it, but I still would love to see who finds it useful
Lastest Version: BOINC / Classic Script 0.30 (10/26/05)
User Data Courtesy BOINCStats .
~~~~~~~~~~~~~~~~~~~
Christoph recently created a lovely Perl script which is able to find / get statistics for the Folding and SETI teams, and then upload this data into their sig. His thread regarding this script can be found here, and includes instructions on getting Perl (to run the script), setting the script up, etc.
Unfortunatly, with it's presence in the Folding section, it dosen't get much visibility from us SETI guys This thread was created as a SETI specific version of the original thread, where you could download the latest BOINC/Classic script, get fast(er) help with making the script do your bidding, as well as provide a place for feature requests. This version of the script has lots of neat additional features (such as the data gathered from BOINCStats) and is now THE sig script for the team
Christoph's original thread (linked above) is still an excelent resource for getting Perl and the scripts to work, and I would suggest reading through it if you have the time (or posting in it if you still have problems).
That said...
~~~~~~~~~~~~~~~~~~~
Step 1:
To save myself from repeating what has already been written, see Christoph's excelent post HERE. It contains instructions on obtaining perl, installing his mksig.pl file, etc. It has a brief overview of how Perl works, and how to get your sig stats working and updated automatically. You may wish to use the simple SETI stats script he has in the post before using my (rather complex one) just to verify that everything is working properly.
Step 2:
Download the following file (right click -> "Save As"), and save it to your C:\mksig directory with the filename sig_gen.pl. If you are asked wether you would like to replace an existing file, click Yes.
sig_gen.pl
This code (when run) will generate a sig which looks similar to the following:
Crunching.for.Overclockers.com!
Team Rank: 26th________________98,583.89 Total SETI Credit
World Rank: 1,536th___________________1,499.08838 Recent Average Credit
Currently Visible Work As Of 02/16/2005 at 20:31.
{>>>>>__________}__33%____ [goddess: Athlon XP 1800+]
{>>>>>>>>>>>>___}__78%____ [Crackerjack: mobile Athlon XP 1500+]
{>>>>>>>>>>>____}__72%/29% [Nacho: Mobile Pentium 4 2.80GHz]
Step 3:
Modify the code Now, I know what you're thinking.... How in the heck are you supposed to know what to modify in that huge 977 line monstrosoty of code?? Well, everything that you need to change is all in the first few lines, and should be fairly simple to change.
You need to modify:
- The "# Projects To Provide Data For" section - This section tells the script where/how to get data.
- The "# BOINC Setup" section - This section provides the script with some data regarding BOINC. Not all of it is used, but to be safe you should fill them in. It includes:
- The directory you've installed BOINC to
- A list of remote hosts that can be contacted via RPC ("localhost" should work fine if you have no remote hosts you want to monitor)
- A list of ports to connect to (31416 is the port currently used by BOINC unless you know you've changed it)
- You're SETI ID number (access your account and scroll down to the bottom of the page. the "Account number" is this number)
- You're BOINC cross-project ID (again, access your account and scroll to the bottom. the "Cross-project ID" is this piece of data)
- The "# Classic Setup" section - This gives the script info about your Classic account so it can get data for it as well. It includes:
- The directory you've installed SETI@Home Classic to
- The E-Mail address used to check your Classic stats
That's It!!
...Unless you want to further modify the code so that it looks different. Christoph's post (linked above) covers the basics of how to work with Perl should you want to tweak the code on your own. All the variables that the program creates and sets to various values are listed just below the setup portion for step 3. The actual code which creates the sig is located near the bottom of the sig, just before all the subs.
If you've made a modification to the display code, by all means post it up so others can have more of a choice in how their sig looks! (since, even though I like my scheme, some may want simpler or different stats covered )
~~~~~~~~~~~~~~~~~~~
If you have any questions, comments, or requests, post away!
Change Log:
0.11 - Fixed buggy SETI World Rank variable, Fixed "long" SETI RAC display (now only displays first 5 digits of RAC)
0.12 [3/18/05] - (Hopefully) Fixed the script from dying if the machine running the script does not have RPC privlages on the remote system. Since the program will only display the first 2 "active" WUs it comes across right now, it now shows the two RUNNING active projects. Updated progress bar generator to incorporate the neat multiple charachter progress bar that JerMe made. Updated to work with the new official BOINC 4.25 XML data. Fixed two XML bugs.
0.13 [3/28/05] - Fixed a bug that caused "World Rank" to not display because of a change in BOINCstats.com's stat format. Added a bit more documentation.
0.14 [3/31/05] - Log file added for debugging aid, sig_gen gracefully dies when a classic e-mail isn't found
0.15 [6/27/05] - Various bug fixes and graphical tweaks. Hopefully fixed RPC calls for some systems.
0.16 [8/10/05] - BOINCStats layout fix and additional stats.
0.20 [8/28/05] - Fixed spelling error, changed RPC mechanism (should no longer freeze script if BOINC denies RPC), new BOINCStats code (this should be the last version ), additional projects, additional stats for projects.
0.30 [10/26/05] - Added code to allow sig_gen to connect to a passworded client (ALL 5.x clients are passworded on install, making this a very nesscary feature).
Wish List / Bugs To Be Fixed: (feel free to post or PM features you'd like to see!)
- Get SETI@Home Classic stats from state.sah (or whatever other files on disk)
- Progress bars for systems running more than 2 WUs simultanously (quad xeons/opterons for instance)
- Ability to show progress bar for currently suspended WUs
- Ability to display if a WU is suspended or not (probably for use with the item above)
- Allow program to work with versions prior to 4.25
- Add statistics for BURP to overall BOINC
- Add variable to determine number of WUs in cache
- Add variable to determine number of complete WUs in cache
- Show state of client machine (ie: if a box was unreachable, or reachable but idle)
- Add fix for project-specific BoincStats layout tweak
- Add project-specific stats for ALL projects (just like the SETI specific ones)
JigPu
Last edited: