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

  • SEARCH
  • Home
  • 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 161775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:16:23+00:00 2026-05-11T11:16:23+00:00

Today I broke perfmon… :( I can start the application, the three default counters

  • 0

Today I broke perfmon… 🙁

I can start the application, the three default counters (cpu, mem, disk) are there, but the graph won’t move.

The Data Source is set to ‘Current Activity’, the ‘Freeze Display’ button is not pressed. I just rebooted, started perfmon, and no moving graph.

I tried restoring the counters using

C:\WINDOWS\system32>lodctr.exe /R 

but that did not help.

Using Windows Server 2003 R2, 32bits. A collegue also got this problem on a similar environment, but we couldn’t pinpoint the reason yet.

(For the downvoter(s): I know it’s not directly programming related, but writing an app for performance without any measurements to go by with is a bit hard (but that might just be me)


To make this more interesting:

The following code also does not retrieve values:

System.Diagnostics.PerformanceCounter ctr =         new System.Diagnostics.PerformanceCounter(); ctr.CategoryName = 'Processor'; ctr.CounterName = '% Processor Time'; ctr.InstanceName = '_Total'; ctr.MachineName = '.';  float val = ctr.NextValue().ToString(); // val equals 0 

The image as requested:

alt text http://www.brokenwire.net/bw/file_download/23/perfmon.PNG

(So, the graph does not fill the screen, no values appear)

  • 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. 2026-05-11T11:16:24+00:00Added an answer on May 11, 2026 at 11:16 am

    It sounds like you have been working on this pretty hard. Have you checked http://www.tomshardware.com/forum/117911-45-perfmon? Then you can double check your registry to make sure it is correct. Also, if you have your windows cd, you can copy over a fresh copy of the perfmon files.

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

Sidebar

Ask A Question

Stats

  • Questions 122k
  • Answers 122k
  • 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 SSL certificates are bound to a 'common name', which is… May 12, 2026 at 12:51 am
  • Editorial Team
    Editorial Team added an answer First search for function definitions, and then on each match,… May 12, 2026 at 12:51 am
  • Editorial Team
    Editorial Team added an answer Have you made sure that the folder "c:\teste" exists? If… May 12, 2026 at 12:51 am

Related Questions

Today I broke perfmon... :( I can start the application, the three default counters
I have a new laptop at work and code that worked earlier in the
Does anyone know of a plugin or something that can be used to send
I am using rss2email for converting a number of RSS feeds into mail for
Both DataSource and DataSourceID are defined on 'grdCommunication'. Remove one definition. I just got

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.