Python script to show Seti@home progress [Ubuntu]

Questions and Answers : Unix/Linux : Python script to show Seti@home progress [Ubuntu]
Message board moderation

To post messages, you must log in.

AuthorMessage
dave

Send message
Joined: 28 Apr 11
Posts: 4
Credit: 552,190
RAC: 0
United States
Message 1344802 - Posted: 10 Mar 2013, 2:23:09 UTC

I was wondering if it's possible to write a script that will display work unit progress/location/etc either on the command line or into a text file.

I know this used to be possible before BOINC but after doing a web search it appears all of the existing projects are long abandoned.

After searching, I managed to find the directory that the Seti@home files are located on Ubuntu Server 12.10 but they don't appear to be readable.

Any ideas if this is possible?
ID: 1344802 · Report as offensive
-ShEm-
Volunteer tester

Send message
Joined: 25 Feb 00
Posts: 139
Credit: 4,129,448
RAC: 0
Message 1344956 - Posted: 10 Mar 2013, 15:16:42 UTC - in response to Message 1344802.  

While not Python-scripts, BOINC itself has some official older CLI-versions here (at bottom).

There's also a newish 3rd party CLI-manager boinctui that works surprisingly well, although not fully yet. I saw packages for Ubuntu & Fedora there, though I downloaded source-code and compiled myself on Debian SID.

HTH :)
ID: 1344956 · Report as offensive
dave

Send message
Joined: 28 Apr 11
Posts: 4
Credit: 552,190
RAC: 0
United States
Message 1345006 - Posted: 10 Mar 2013, 16:49:43 UTC
Last modified: 10 Mar 2013, 16:59:57 UTC

Thanks for the response. I've seen boinctui before but it was a bit more then I was looking for.

I think I may have figured it out. It looks like BOINC stores active work unit data in the client_state.xml file and is totally readable.

I'll just need to create a script to scrape that and display readable output.

Thanks again!
ID: 1345006 · Report as offensive
-ShEm-
Volunteer tester

Send message
Joined: 25 Feb 00
Posts: 139
Credit: 4,129,448
RAC: 0
Message 1345761 - Posted: 12 Mar 2013, 8:38:09 UTC - in response to Message 1345006.  

Ah, appears I misunderstood your question.

If you're going to scrape client_state.xml, perhaps consider if the included official boinccmd-tool is a better fit to pass info from, specifically the output from
boinccmd --get_tasks

or
boinccmd --get_state
ID: 1345761 · Report as offensive

Questions and Answers : Unix/Linux : Python script to show Seti@home progress [Ubuntu]


 
©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.