Getting started with win32pdh...

Francois Meehan fmeehan at ctbr.com
Wed Jul 23 23:22:12 CEST 2003


Super, just what I was looking for.

Thanks Mick,

Francois

Trent Mick wrote:
> [Francois Meehan wrote]
> 
>>Hi all,
>>
>>Can someone give me an example on how to use win32pdh module (that 
>>access windows performance counters)?  For example, how to retreive the 
>>number of processes running on a win2k server, with  the 
>>Objects-Processes counter?
>>
>>Any ideas?
> 
> 
> There are a few examples installed with PyWin32 (or with ActivePython if
> you got PyWin32 that way):
>     ...\Lib\site-packages\win32\Lib:
>                 win32pdhquery.py
>                 win32pdhutil.py
> 
> 
> Trent
> 







More information about the Python-list mailing list