Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 215015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:25:47+00:00 2026-05-11T18:25:47+00:00

I’ve been dealing with this problem for my thesis. The goal is to develop

  • 0

I’ve been dealing with this problem for my thesis.
The goal is to develop a .net server monitoring tool specifically for windows 2K8 servers.
So far, all I can access are software performance counters. Meaning those that are available through perfmon and the WMI classes.

But then there’s also the issue that I need to be able to monitor things like the number of TLB-misses that occur, or the current memory bandwidth. And that’s where I’m stuck…
As there is no standard .net way to get these counters I’ve been reading through some code from open source programs such as Oprofile. But since I don’t know what exactly I’m looking for, not much progress has been made on that front.

So I humbly ask if there is somebody here, who has any experience with this kind of thing and could help me out a bit.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:25:47+00:00Added an answer on May 11, 2026 at 6:25 pm

    The most widely used library for reading performance counters is the Performance API (PAPI). PAPI is actually two API’s (high-level and low-level). I tend to use the low level one since I find it more intuitive, but that could just be me.

    There are two types of events in PAPI. Preset events are supposed to be platform-agnostic, though they can differ subtly depending on how they’re counted internally. They do include TLB misses and memory stalls, so maybe you could start there. If that doesn’t suit your needs, you may want to have a look at native events, which are specific to your particular hardware and typically include every event that the hardware can count. Use papi_native_aval to get a list of these.

    PAPI has support for Windows, but I’ve actually never tried it. I couldn’t find anything in the docs/readmes that referred specifically to Windows 2008, but at the very least perhaps you can look through the source to see how to access the counters you need, even if you can’t access them directly.

    If you need more, then maybe take a look at perfmon2, which the newer versions of PAPI make use of on Linux, if it’s available.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 98k
  • Answers 98k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer One problem with generators is that they get "consumed." This… May 11, 2026 at 7:35 pm
  • Editorial Team
    Editorial Team added an answer If you know that there will be a color attribute… May 11, 2026 at 7:35 pm
  • Editorial Team
    Editorial Team added an answer Fulltext is not for searching parts of words. It's for… May 11, 2026 at 7:35 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.