Questions and Answers :
Unix/Linux :
LINUX Command Boinc-client --> show %CPU used + repository ppa:costamagnagianfranco/boinc
Message board moderation
Author | Message |
---|---|
DanHansen@Denmark Send message Joined: 14 Nov 12 Posts: 194 Credit: 5,881,465 RAC: 0 |
Hi boinc-friends ;) I'm running several linux boxes and have a few questions I hope you can help me solve. #1 I'm running linux/ubuntu on my computers and all computers are running the boinc-client only. Therefore I'm using the command line tool "boinccmd" to comunicate with the computers.. Does anyone know a command to check the current CPU time % setup? (e.g. Use at most: 50% of CPU time) If possible, the command to check the other 2 fields as well. On multiprocessors, use at most: --- processors On multiprocessors, use at most: --- % of the processors #2 I'm using the repository ppa:costamagnagianfranco/boinc to allways keep the boinc updated running the newest version of boinc, but I'm not sure if this works. I have been trying to update/upgrade ubuntu a few times, and I'm not sure anything changed. Anybody who have an idea or know if this was a some kind of a test project only? In any case, it was a great idea!!! Looking forward to hear from you... Keep on crunching friends ;) Kind Regards, Dan Hansen Denmark |
Gundolf Jahn Send message Joined: 19 Sep 00 Posts: 3184 Credit: 446,358 RAC: 0 |
#1 I'm running linux/ubuntu on my computers and all computers are running the boinc-client only. Therefore I'm using the command line tool "boinccmd" to comunicate with the computers.. AFAIK, there's no command for that, but you can check in global_prefs.xml and global_prefs_override.xml for the <cpu_usage_limit> parameter. The other two are <max_cpus> and <max_ncpus_pct> respectively. Gruß Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz) SETI@home classic workunits 3,758 SETI@home classic CPU time 66,520 hours |
DanHansen@Denmark Send message Joined: 14 Nov 12 Posts: 194 Credit: 5,881,465 RAC: 0 |
Hallo Gundolf.. Vielen dank für deine antwort ;) OK, ich verstehen, aber Wo finde ich die "global_prefs.xml and global_prefs_override.xml" und wie kann ich sie lesen? Mitt "VI"? Wollen Sie mir bitte zeigen, wie ich es tun? Freundlichen Grüßen Dan Hansen Dänemark |
Gundolf Jahn Send message Joined: 19 Sep 00 Posts: 3184 Credit: 446,358 RAC: 0 |
Those two files are located in the BOINC data directory (at least one of them; global_prefs_override.xml is only cretaed when you use the local preferences of the BOINC manager - which you don't do ;-). I'm not sure if there's always a separate data directory with linux, but if you find the file client_state.xml, you've found the correct folder. And yes, VI is fine, as is any text-reading tool (cat, tail, head, grep, ...), since the BOINC XML isn't a "real" XML anyway. Gruß Gundolf [edit]Ach, und ich habe nicht auf Deutsch geantwortet, damit alle anderen Interessenten es auch verstehen können. ;-)[/edit] |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
I'm not sure if there's always a separate data directory with linux, but if you find the file client_state.xml, you've found the correct folder. Not by default under Linux and not when installed from repositories. Possible when using the Berkeley Installer, as that puts everything in a subdirectory with the installer's name under the Home directory. But else, see (in this case) http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu, where it says: What the installer does So in this case, look in /etc/boinc-client |
DanHansen@Denmark Send message Joined: 14 Nov 12 Posts: 194 Credit: 5,881,465 RAC: 0 |
Hi Jord and Gundolf, Thanks for your replies... Regarding "epository ppa:costamagnagianfranco/boinc". This means that it is still active!?! Does any of you use this repository??? Regarding "global_prefs.xml and global_prefs_override.xml", I'm not quite sure which does what and how it's prioritized!? I have been reading and asking about the priority of the different computer setup's, because I wanted to know in which sequence the different setup's is read/used by boinc (boinc-client only, not boinc manager --> windows stuff) This I know.. The standard way, I guess, is that when you attach to a project, the "global settings" from the account page is used. Then if you change the setup on computer "A" using the boinccmd command line tool, this is what is used. And the "Global settings" is ignored on the next "update/contact to project server". But from this point and forward, I know nothing about how it's done.. Therefore, everything you can tell me and want to tell me about this will be greatly appreciated... Kind Regards, Dan/Denmark |
arkayn Send message Joined: 14 May 99 Posts: 4438 Credit: 55,006,323 RAC: 0 |
Hi Jord and Gundolf, This is the primary repository that we recommend to Ubuntu and Linux Mint users as it stays up to date with the all releases from Berkeley. |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
(boinc-client only, not boinc manager --> windows stuff) If by this you mean that BOINC Manager is only for Windows, then you're thinking it wrong. boinc-client is the client, boinc-manager is BOINC Manager, boinccmd is the BOINC command tool. These binaries are built for all default platforms (Linux, Windows and Macintosh). |
©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.