[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Laptops as condor execute machines



On 06/06/2011 10:38 PM, Ian Chesal wrote:
On Monday, June 6, 2011 at 5:34 PM, Eric Abel wrote:

In the interest of not reinventing the wheel, has anyone developed
such an application for condor?
Seemed like a fun little project for a rainy evening.

Here you go: https://github.com/cyclecomputing/power-check

I tested in on a Windows XP VM and a CentOS 5.5 VM, both running under
my OS X 10.6.7 laptop with battery status forwarding to the VMs. Seems
to work just fine. You can use the build.bat and py2exe
(http://www.py2exe.org/) to create an executable for distribution on
Windows.

Apache License v2.0. Contributions always welcome if you want to improve
it or fix any bugs (which I'm sure there are a few of).

Regards,
<https://github.com/cyclecomputing/condor-power-check>- Ian

--
Ian Chesal
ichesal@xxxxxxxxxxxxxxxxxx <mailto:ichesal@xxxxxxxxxxxxxxxxxx>
http://www.cyclecomputing.com/

FYI, newer linux kernels use /sys/class/power_supply/AC/online

Best,


matt