Good day monks,
I need to design long running perl program that is using a lot of CPU, but I want to limit the execution of the code only when the PC's CPU is currently idle, so I don't stop other processes from running smooth. Is there any way I can (cross platform) get information on the current CPU usage via Perl ? I would gladly accept any code samples as well. I was thinking of using POE ... but any ideas are more than welcome. Thanks a lot for your response!