Is there a BOINC add-on to check stats & progress quickly in OS X?


log in

Advanced search

Questions and Answers : Macintosh : Is there a BOINC add-on to check stats & progress quickly in OS X?

Author Message
davygravy
Send message
Joined: 31 Jan 02
Posts: 24
Credit: 133,388
RAC: 0
United States
Message 5547 - Posted: 9 Jul 2004, 4:20:09 UTC

Is there an add-on to check stats & progress quickly in OS X?

Something like 'boinc 1.1' at http://freshmeat.net/projects/boinc , but for OS X, rather than Linux?

Thanks,

DavyGravy

Profile Jeffrey
Avatar
Send message
Joined: 21 Nov 03
Posts: 4793
Credit: 26,029
RAC: 0
Message 5555 - Posted: 9 Jul 2004, 4:45:23 UTC

I personally placed a few one-liner scripts in my .profile file displaying seti progress at terminal launch. Using this same method you could virtually extract and display any other info you may want to display from the boinc or seti apps as well...


Last login: Thu Jul 8 23:09:05 on ttyp1
Welcome to Darwin!
23:34 up 6 days, 5:13, 2 users, load averages: 1.28 1.27 1.26
seti classic -----> 0.13
seti boinc! -----> 0.90
Jeffreys-Computer:~ jeffreyb$

davygravy
Send message
Joined: 31 Jan 02
Posts: 24
Credit: 133,388
RAC: 0
United States
Message 5691 - Posted: 9 Jul 2004, 17:14:35 UTC - in response to Message 5555.

Thanks, Jeff,

How does one go about doing that?

Any chance you could share your 'one-liners'?


Profile Jeffrey
Avatar
Send message
Joined: 21 Nov 03
Posts: 4793
Credit: 26,029
RAC: 0
Message 5802 - Posted: 9 Jul 2004, 21:18:36 UTC

1. open a new terminal window (you should already be in your home directory)
2. type 'pico .profile' (if it exists it will open, otherwise it will be created)
3. add the following lines (remember to edit the path beginning at /)

echo -n "seti boinc! -----> "
cat "/seti-boinc_3.18_powerpc-apple-darwin/client_state.xml" \
| grep fraction_done | cut -c20-23

4. use the menu at the bottom to exit (don't forget to save)
5. open a new terminal window to see the results...

looks like I lied. it's a three-liner...
good luck

Profile toffuuu
Volunteer tester
Send message
Joined: 30 Mar 00
Posts: 87
Credit: 1,395,328
RAC: 658
United States
Message 5953 - Posted: 10 Jul 2004, 4:46:22 UTC - in response to Message 5802.
Last modified: 10 Jul 2004, 4:57:54 UTC

> 1. open a new terminal window (you should already be in your home directory)
> 2. type 'pico .profile' (if it exists it will open, otherwise it will be
> created)
> 3. add the following lines (remember to edit the path beginning at /)
>
> echo -n "seti boinc! -----> "
> cat "/seti-boinc_3.18_powerpc-apple-darwin/client_state.xml"
> | grep fraction_done | cut -c20-23
>
> 4. use the menu at the bottom to exit (don't forget to save)
> 5. open a new terminal window to see the results...
>
> looks like I lied. it's a three-liner...
> good luck

Will this work for the version of seti/boinc that works in Jaguar, if you don't know what i'm talking about look at Good news for JAGUAR 10.2.8 users !!! I'll try it and let you know...

Matt.

reply:
I can't get it to work this is what i did typed, -> echo -n "seti boinc! -----> "
cat "/matt/boinc/boinc-seti10.2.8/boinc_3.19_powerpc-apple-darwin/client_state.xml"
| grep fraction_done | cut -c20-23

is this right? any help would be appreciated...
matt

Profile Jeffrey
Avatar
Send message
Joined: 21 Nov 03
Posts: 4793
Credit: 26,029
RAC: 0
Message 5961 - Posted: 10 Jul 2004, 5:35:44 UTC - in response to Message 5802.

my mistake...
the \ at the end of line 2 is very important.

echo -n "seti boinc! -----> "
cat "/seti-boinc_3.18_powerpc-apple-darwin/client_state.xml" \
| grep fraction_done | cut -c20-23


sorry Matt,
edit your .profile to include the \ and you should be fine.

Profile Jeffrey
Avatar
Send message
Joined: 21 Nov 03
Posts: 4793
Credit: 26,029
RAC: 0
Message 5962 - Posted: 10 Jul 2004, 5:43:43 UTC - in response to Message 5961.

lol

maybe it wasn't my mistake after all...

once again,
at the end of line 2 put a space and a backslash ""
if the backslash inside the quotes above didn't show again...
it's the opposite of the forward slash "/"





Profile toffuuu
Volunteer tester
Send message
Joined: 30 Mar 00
Posts: 87
Credit: 1,395,328
RAC: 658
United States
Message 6012 - Posted: 10 Jul 2004, 9:02:47 UTC - in response to Message 5962.
Last modified: 10 Jul 2004, 9:25:52 UTC

> lol
>
> maybe it wasn't my mistake after all...
>
> once again,
> at the end of line 2 put a space and a backslash ""
> if the backslash inside the quotes above didn't show again...
> it's the opposite of the forward slash "/"

since i am useing a totally different version of boinc with seti at home from the Good News for Jaguar users post, the .profile thing will not work this is how its done for it open a terminal and type this..mattruthsimac:boinc-seti10.2.8/slots/0] mattruth% grep prog state.sah
0.44568963

this will probaly only work for the Jaguar version of boinc-seti....

it used to be like this in classic cli version of seti@home that u'd type in grep prog= state.sah
and get the result...

MacJack
Volunteer tester
Send message
Joined: 3 Apr 99
Posts: 1
Credit: 232,077
RAC: 39
Canada
Message 6591 - Posted: 11 Jul 2004, 18:17:03 UTC

I use the following lines in an executable file writen in pico:

echo Current Boinc Status:
echo Processor 1:
awk '/prog/ {print substr($1,7,4)}' /volumes/Applications/Boinc/slots/0/state.sah
echo Processor 2:
awk '/prog/ {print substr($1,7,4)}' /volumes/Applications/Boinc/slots/1/state.sah
echo

You just need to modify the path names.

Then make sure that you can execute it by using the following command:

chmod 755 filename

I've been using this method all trough the beta testing of boinc. As long as the boinc process produce a State.sah file (no the case when we were testing astropulse on Mac).

Questions and Answers : Macintosh : Is there a BOINC add-on to check stats & progress quickly in OS X?

Copyright © 2014 University of California