Getting started with win32pdh...

Trent Mick trentm at ActiveState.com
Wed Jul 23 15:37:49 EDT 2003


[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

-- 
Trent Mick
TrentM at ActiveState.com





More information about the Python-list mailing list