Sample Code for Performance Counters Implementation

Saravanan D junk at microsoft.com
Wed Feb 18 07:33:45 EST 2004


"Thomas Guettler" <guettli at thomas-guettler.de> wrote in message
news:pan.2004.02.18.11.22.30.487734 at thomas-guettler.de...
> Am Wed, 18 Feb 2004 14:02:08 +0530 schrieb Saravanan D:
>
> > Hello,
> >
> > Can any one provide the sample Python code which implements Performance
> > Counters ?
>
> Hello,
>
> What do you mean with "Performance Counters"?
PerfMon is a tool which comes up Windows OS to Monitor your process, Memory
consumption of the process, thread count etc.,  .  Windows provides APIs to
add entries/Counter Objects  to the Windows PerfMon GUI.  This can be
monitored while application is running.  Some of the PerfMon APIs are also
exposed to Python Win32.

Whatever the example code came with the PyWin32 doesn't work properly.
>
> Maybe the module "profile" contains what you need.
>
>  thomas





More information about the Python-list mailing list