Questions and Answers :
Unix/Linux :
Python script to show Seti@home progress [Ubuntu]
Message board moderation
Author | Message |
---|---|
dave Send message Joined: 28 Apr 11 Posts: 4 Credit: 552,190 RAC: 0 |
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? |
-ShEm- Send message Joined: 25 Feb 00 Posts: 139 Credit: 4,129,448 RAC: 0 |
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 :) |
dave Send message Joined: 28 Apr 11 Posts: 4 Credit: 552,190 RAC: 0 |
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! |
-ShEm- Send message Joined: 25 Feb 00 Posts: 139 Credit: 4,129,448 RAC: 0 |
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 |
©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.