Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: 10 Mar 2006 16:53:27 -0800,    group: microsoft.public.platformsdk.networking        back       


WMI, C++, PercentIdleTime, PercentProcessorTime and a Remote Windows 2003 Multiprocessor Box   
Hello,

Firstoff, I apologize for the cross-post.

I have an odd problem accessing
Win32_PerfRawData_PerfProc_Process::PercentProcessorTime and
Win32_PerfFawData_PerfOS_Processor::PercentIdleTime counters on a
remote Windows 2003 box with four processors.

The process returns correct results from remote WinXPPro machines. It
is only the Win2K3 machine that is returning odd results.

In the case of the PercentProcessorTime property, I receive values that
look like memory addresses. For example:
Sample One:
        Inst: 71        Cnt: 50 Name: _Total
        uiPropVal1: 59040312500(14757395255533172348)
        uiStamp1: 14767201000(14757395255533160836)

Sample Two:
        Inst: 71        Cnt: 50 Name: _Total
        uiPropVal2: 59049062500(14757395255533197316)
        uiStamp2: 14769442000(14757395255533160836)
((59049062500 - 59040312500) / (14769442000 - 14767201000)) * 100 ==
390.450683593750000
Property Value : 390.4507

Needless to say, 390 percent processor time for the total processes is
a bit high.


The process returns results like the following for the PercentIdleTime
property
Sample One:
        Inst: 71        Cnt: 50 Name: _Total
        uiPropVal1: 433127c9e(cccccccc001768d4)
        uiStamp1: 446ed3560(cccccccc0017fa5c)
Sample Two:
        Inst: 71        Cnt: 50 Name: _Total
        uiPropVal2: 43da94e58(cccccccc0017fa84)
        uiStamp2: 446ee42e8(cccccccc0017e5cc)

	Again, this only occurs on remote Win2K3 boxes with multiple
processors.
	
	Anyone have any ideas?


Thanx In Advance



-V-
date: 10 Mar 2006 16:53:27 -0800   author:   VirGin

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us