Solved

Performance Monitoring ?

Posted on 1997-09-25
4
235 Views
Last Modified: 2010-04-04
Anybody got code or a component to get to the performance monitoring functions under NT ? And how does this differ from the stuff stored in Windows 95's registry ?
0
Comment
Question by:gideon
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
dionysos_swamp earned 30 total points
Comment Utility
Regarding the code: I have done a cool set of classes for reading the performance data in NT, I'm just cleaning it up and I will them monday as the answer to ffrand's question regarding Performance data.

Regarding the performance data in 95 vs. NT, it can be found under the Hkey_dyn_data key, but you seem to know that.
The difference is that the data in 95 is rather simple and not that detailed, in return it's easy to get and use, in NT the data is highly detailed and extremly complex, in NT you get the data by requesting the field 'global' from Hkey_performance_data, this yields a huge binary gob that you have to figure out on your own, furthermore the raw data that you get once you dismantle the structure has to undergo a strange cooking proccess to be useful.
For example: to get processor usage:
1) get cpu counter from system object
2) wait...
3) get cpu counter from system object
4) divide delta counter by the time consumed during wait.

And getting the cpu time is a simple matter, there are a lot (30) different modifiers that has to be taken into account.

To further complicate matters there are 3 different timebases used by the data, of wich one of them can change from object to object.

The url to my delphi NT performance lib will be:

http://www.yi.com/home/FlemmingFrandsen/dlp_perf.zip

This addy will be valid from monday 29/9 1997 and the file will contains full source to both the classes and a couple of cool example programs.
 
0
 
LVL 1

Expert Comment

by:dionysos_swamp
Comment Utility
the real url is now:
http://www.yi.com/home/FlemmingFrandsen/ntperf.exe

or open my homepage:
http://www.yi.com/home/FlemmingFrandsen/
and click on the download page
0
 
LVL 1

Expert Comment

by:dionysos_swamp
Comment Utility
the real url is now:
http://www.yi.com/home/FlemmingFrandsen/ntperf.exe

or open my homepage:
http://www.yi.com/home/FlemmingFrandsen/
and click on the download page
0
 

Author Comment

by:gideon
Comment Utility
Thanks that helps.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now