% Processor Time on a Multi-Processor Machine
How do you calculate the % Processor Time on a Multi-Processor machine?
I have a Performance Counter Test that measures the % Processor Time for sqlservr. According to the Windows Performance Monitor the process is running about 140% (this is normal for some of our machines), but Host Monitor is only reporting 100%.
Is it possible that Host Monitor 3.40 is not calculating this correctly on a multi-processor machine?
I have a Performance Counter Test that measures the % Processor Time for sqlservr. According to the Windows Performance Monitor the process is running about 140% (this is normal for some of our machines), but Host Monitor is only reporting 100%.
Is it possible that Host Monitor 3.40 is not calculating this correctly on a multi-processor machine?
I still don't understand. This is a two processor box, so when Performance Monitor shows 150%, the task manager shows 75% for the sqlsrvr process. I wrote a VB Script to calculate the % Processor using Win32_PerfRawData_PerfProc_Process and I get the 150% in the Performance monitor. Could this be a future enhancement to calculate the a process PercentCPU according to http://msdn.microsoft.com/library/defau ... rocess.asp
... just a short notice regarding this topic:
CPU monitoring by Performance Counter (mode: OneByOn) work on W2K and XP. You can even monitor single CPU- or 2,3 and 4 together!
On the other hand... the use of "CPU usage" directly does not show the "right" value in multiple CPU system (not here anyway).
Cheers,
Hans Mosegaard
CPU monitoring by Performance Counter (mode: OneByOn) work on W2K and XP. You can even monitor single CPU- or 2,3 and 4 together!
On the other hand... the use of "CPU usage" directly does not show the "right" value in multiple CPU system (not here anyway).
Cheers,
Hans Mosegaard
You will laugh, but we don't have any multi-processor system. Could you please start test program (available at http://www.ks-soft.net/download/cputest2.exe) and send screen shot to line2@ks-soft.net?
Regards
Alex
Regards
Alex