in reply to How Do I Get CPU Utilization In Windows

Under Windows, the CPU utilisation is exposed through the (WMI) performance counters. You can use the Win32::Perflib module to interface to the counters with Perl.

It's not the most obvious module to use, however I found an article through Google that shows you how to use it (including pulling out CPU usage information).

HTH,
--Loki

  • Comment on Re: How Do I Get CPU Utilization In Windows