[python-win32] Re: wmi + pythonservice : multithreading issues

Jens B. Jorgensen jens.jorgensen at tallan.com
Thu Aug 19 02:11:59 CEST 2004


I should throw in here that yet another way to get the perfmon counters 
is to go to the "source". You get the raw data through a registry 
interface. The main challenge is that the registry data you get is 
variable-length and doesn't work like other registry data. However, it 
is for just these reasons that I wrote pyRegistry. In this case you'll 
need to parse out the data yourself (it's a C struct kinda) but if 
you're interested in giving this a try I can supply you with some code 
to use. Email me if you're interested. With this methodology you will 
also compute the values yourself but this is the most low-level means of 
getting the data possible. If you're interested in this module you can 
look at the information on www.python.org/pypi

Aloys Baillet wrote:

> Thank you very much, Mark.
> And actually I plan to buy the book very soon : its the last 
> Python-related book we don't have...;)
> Regarding my multi-threading issue, I am sure that it can be 
> workarounded, but unfortunately I don't have the enough time at the 
> moment.
> Thank you again, and best regards,
>
> Mark Hammond wrote:
>
>>> I'm glad other's have responded re WMI
>>
>>
>>
>> Oops - I meant "re PDH"
>>
>> Mark.
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32



-- 
Jens B. Jorgensen
jens.jorgensen at tallan.com

"With a focused commitment to our clients and our people, we deliver value through customized technology solutions"  



More information about the Python-win32 mailing list