[python-win32] win32pdh problem on Windows Server 2003
Gabriel Genellina
gagsl-p32 at yahoo.com.ar
Tue Oct 31 19:31:40 CET 2006
At Tuesday 31/10/2006 14:48, Tim Roberts wrote:
> >I am trying to get processor performance stats using the pywin32pdh and
> >pywin32pdhutil modules. It works fine on Windows 2000 and Windows XP, but
> >not on Windows server 2003(SP1). I am using Python 2.4.3 and
> >pywin32-210.win32-py2.4.
> >
>Windows error messages are better handled in hex. -1073738810 is
>C0000BC6, and a quick Google on that shows it is basically "performance
>counter not found".
>
>You can use "perfmon" to explore what counters are really present.
>Perhaps the "privileged time" counter was renamed in 2003. In your
>particular case:
Also, the names are localized, so if you have a non-english version
of Windows, you have to look up what are the translated names.
(I don't know how to obtain a "neutral" name usable everywhere)
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
More information about the Python-win32
mailing list