Local web page to display current client status

Message boards : Web interfaces : Local web page to display current client status
Message board moderation

To post messages, you must log in.

AuthorMessage
txr13

Send message
Joined: 2 Aug 07
Posts: 8
Message 12491 - Posted: 13 Sep 2007, 18:51:03 UTC

I've got a local network running several BOINC machines. What I'd like to do is create a CGI page for my webserver that will poll the clients on the network and then return a listing with the current project(s), current workunit(s), percent complete, and estimated time to completion for each machine/workunit.

Can anybody point me to a source of documentation or pointers on how to create a program to poll the BOINC core client for this kind of information? I'm not even sure if this can be done using a CGI language like PHP or Perl, but I'd like to at least give it a shot.
ID: 12491 · Report as offensive
txr13

Send message
Joined: 2 Aug 07
Posts: 8
Message 12493 - Posted: 13 Sep 2007, 18:59:40 UTC - in response to Message 12491.  

Actually, I think I just found a possible solution: parsing the client_state.xml file. :P

Still, that would require me to share the BOINC folder on every machine. I'd really like to find a way to communicate with the core client itself, since that wouldn't require me to fiddle with every individual machine.
ID: 12493 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 12499 - Posted: 13 Sep 2007, 21:38:12 UTC

ID: 12499 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 12538 - Posted: 17 Sep 2007, 2:33:44 UTC

I have even done it with a C++ app running as CGI :)

Easy/lazy way: run boinc_cmd from the PHP app.
ID: 12538 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 12664 - Posted: 20 Sep 2007, 23:58:43 UTC

BOINC PHP seems quite good. I have noticed some things it's doing wrong, although they match how the core client is doing them wrong so it happens to work, but it's prone to breaking if the client ever does RPCs correctly.
ID: 12664 · Report as offensive

Message boards : Web interfaces : Local web page to display current client status

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.