Mon May 25 07:56:33 2009: Request 45546 was acted upon. Transaction: Correspondence added by RPAGITSCH Queue: Win32-PerfLib Subject: Unable to monitior the CPU processor time for a dual processor Broken in: (no value) Severity: Critical Owner: Nobody Requestors: sivak...@cisco.com Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45546 >
Hi Siva, Do you have tried the module Win32-Process-Perf, which is similar, but monitor processes only? But I can not say how it works with a dual processor, because I have only a single processor PC. regards, Reinhard On Mi. 29. Apr. 2009, 11:45:38, sivakbal wrote: > Hi Bill, > > Thanks for the quick reply. I tried with the Total Processor Time parameter, > but it did not help me. The output returned was 0 for all the PID. Do we > have any other way to fix it? > > Your help is appreciated. > > Thanks and Regards, > Siva > > -----Original Message----- > From: Bill Luebkert via RT [mailto:bug-win32-perf...@rt.cpan.org] > Sent: Wednesday, April 29, 2009 8:41 PM > To: sivak...@cisco.com > Subject: Re: [rt.cpan.org #45546] Unable to monitior the CPU processor time > for a dual processor > > <URL: http://rt.cpan.org/Ticket/Display.html?id=45546 > > > Siva via RT wrote: > > > > Hi Experts, > > > > I need your help to get my problem solved. I use Win32::perfLib module > > to monitor my system resource utilization. It is a dual CPU machine. > > Except Processor time, all other values are recorded properly. > > > > The processor time varies somewhere between 0 -180%. I guess it is due > > to dual CPU. Is there anything that we can do to make the output > > similar to the one in Task manager? I need this script to work for my > > performance testing. > > What if you were to switch and use '% Total Processor Time' instead of '% > Processor Time' ? I'm not sure how the Taskmgr handles it since I only have > a single CPU. >