http://www.perlmonks.org?node_id=188723


in reply to CPU usage via Win32

The module you're looking for is Win32::PerfLib. With that module, you can get a snapshot of processes and their associated CPU times (along with a whole lot of other useful information). Get several snapshots throughout the day and then you can average them out.

"One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison