Sample Code for Performance Counters Implementation

S

Saravanan D

Hello,

Can any one provide the sample Python code which implements Performance
Counters ?

Thanx in Advance

Saravanan D
 
T

Thomas Guettler

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"?

Maybe the module "profile" contains what you need.

thomas
 
S

Saravanan D

Thomas Guettler said:
Am Wed, 18 Feb 2004 14:02:08 +0530 schrieb Saravanan D:


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.
 
T

Thomas Guettler

Am Wed, 18 Feb 2004 18:03:45 +0530 schrieb Saravanan D:
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.

Hi,

Maybe the cygwin API provides this, too. I don't use ms-windows anymore.

thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top