Questions and Answers :
Macintosh :
Is there a BOINC add-on to check stats & progress quickly in OS X?
Message board moderation
Author | Message |
---|---|
davygravy Send message Joined: 31 Jan 02 Posts: 24 Credit: 133,388 RAC: 0 |
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 |
Jeffrey Send message Joined: 21 Nov 03 Posts: 4793 Credit: 26,029 RAC: 0 |
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 |
Thanks, Jeff, How does one go about doing that? Any chance you could share your 'one-liners'? |
Jeffrey Send message Joined: 21 Nov 03 Posts: 4793 Credit: 26,029 RAC: 0 |
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 |
toffuuu Send message Joined: 30 Mar 00 Posts: 87 Credit: 1,887,469 RAC: 0 |
> 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 |
Jeffrey Send message Joined: 21 Nov 03 Posts: 4793 Credit: 26,029 RAC: 0 |
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. |
Jeffrey Send message Joined: 21 Nov 03 Posts: 4793 Credit: 26,029 RAC: 0 |
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 "/" |
toffuuu Send message Joined: 30 Mar 00 Posts: 87 Credit: 1,887,469 RAC: 0 |
> 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 Send message Joined: 3 Apr 99 Posts: 1 Credit: 886,833 RAC: 0 |
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). |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.