Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Performance Monitoring ?

Posted on 1997-09-25
4
Medium Priority
?
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
dionysos_swamp earned 120 total points
ID: 1346283
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
ID: 1346284
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
ID: 1346285
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
ID: 1346286
Thanks that helps.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

730 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