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
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to