Message boards : BOINC client : Linux: Do work while computer is running on batteries?
Message board moderation
Author | Message |
---|---|
Send message Joined: 19 Jul 07 Posts: 17 |
The "Do work while computer is running on batteries?" option in Linux appears to be unsupported. Sending SIGPWR to the BOINC core client process does nothing. I'm running version 5.8.16, the latest stable version at this time. Init *should* send SIGPWR to all running processes when apcupsd daemon detects a powerloss. I'm running apcupsd version 3.14.1 (with Fedora Core 7). I tried sending a manual signal to BOINC: kill -SIGPWR `ps -e|grep boinc|grep -v boincmgr|awk '{ print $1 }'` However, like I said, this does nothing. Does anyone have a clever way to tell BOINC to SUSPEND when the power goes off? The only boinc_cmd that works in the onbattery script (called by apcupsd) is --quit. Writing a script to go around BOINC seems a hack though; the process should automatically SUSPEND all tasks given SIGPWR and resume previous state on another signal (which one?). |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
Does anyone have a clever way to tell BOINC to SUSPEND when the power goes off? The only boinc_cmd that works in the onbattery script (called by apcupsd) is --quit. Have you tried "boinc_cmd --set_run_mode never"? |
Send message Joined: 19 Jul 07 Posts: 17 |
Have you tried "boinc_cmd --set_run_mode never"? That works, but when I execute boinc_cmd --set-run-mode auto, the tasks keep suspending, restarting, suspending, restarting every 1 sec. Then, I have to kill BOINC process to stop it. |
Copyright © 2025 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.