Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. PerfMon: Where are my counters?

PerfMon: Where are my counters?

Scheduled Pinned Locked Moved The Lounge
performancecomtoolshelpquestion
9 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Salil Khedkar
    wrote on last edited by
    #1

    If you visit ‘Add Counter’ window in (WinXP) perfmon and select the ‘Memory’ performance object, you see several counters in the list below. Available bytes, Cache bytes and so on. But for some reason my machine (WinXP) shows only one counter in this section. It happens to be ‘Available Mbytes’, only one entry. I have no idea where the others have gone. :( I need to restore the default counters for ‘Memory’ performance object because I am working on a project which reads values of some of the counters I mentioned above. The code always fails on machine throwing an exception ‘instance name xxx is not valid for this counter category’ Can somebody help regarding what I can do to restore default performance counters? :confused: Salil Khedkar [^]

    R S 2 Replies Last reply
    0
    • S Salil Khedkar

      If you visit ‘Add Counter’ window in (WinXP) perfmon and select the ‘Memory’ performance object, you see several counters in the list below. Available bytes, Cache bytes and so on. But for some reason my machine (WinXP) shows only one counter in this section. It happens to be ‘Available Mbytes’, only one entry. I have no idea where the others have gone. :( I need to restore the default counters for ‘Memory’ performance object because I am working on a project which reads values of some of the counters I mentioned above. The code always fails on machine throwing an exception ‘instance name xxx is not valid for this counter category’ Can somebody help regarding what I can do to restore default performance counters? :confused: Salil Khedkar [^]

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      [Message Deleted]

      R S 2 Replies Last reply
      0
      • R Rajesh R Subramanian

        [Message Deleted]

        R Offline
        R Offline
        Rutger Ellen
        wrote on last edited by
        #3

        it's not a programming question, no need to shout (or if you're just ranting :P you missed the soapbox by an inch :P ) unfortunately I do not have the answer for the original poster

        S 1 Reply Last reply
        0
        • R Rutger Ellen

          it's not a programming question, no need to shout (or if you're just ranting :P you missed the soapbox by an inch :P ) unfortunately I do not have the answer for the original poster

          S Offline
          S Offline
          Salil Khedkar
          wrote on last edited by
          #4

          :rose: Salil Khedkar [^]

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

            [Message Deleted]

            S Offline
            S Offline
            Salil Khedkar
            wrote on last edited by
            #5

            Err, it is not a programming question. It is more like where does windows store this and this information. I am trying in the OS board too, but too little traffic there... :( Salil Khedkar [^]

            R 1 Reply Last reply
            0
            • S Salil Khedkar

              Err, it is not a programming question. It is more like where does windows store this and this information. I am trying in the OS board too, but too little traffic there... :( Salil Khedkar [^]

              R Offline
              R Offline
              Rajesh R Subramanian
              wrote on last edited by
              #6

              OOPS!! I was not shouting at you! I thougt I entered the vc+ forum and grrrrrred for a while :D thats it! :) Regards, Rajesh R. Subramanian. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

              1 Reply Last reply
              0
              • S Salil Khedkar

                If you visit ‘Add Counter’ window in (WinXP) perfmon and select the ‘Memory’ performance object, you see several counters in the list below. Available bytes, Cache bytes and so on. But for some reason my machine (WinXP) shows only one counter in this section. It happens to be ‘Available Mbytes’, only one entry. I have no idea where the others have gone. :( I need to restore the default counters for ‘Memory’ performance object because I am working on a project which reads values of some of the counters I mentioned above. The code always fails on machine throwing an exception ‘instance name xxx is not valid for this counter category’ Can somebody help regarding what I can do to restore default performance counters? :confused: Salil Khedkar [^]

                S Offline
                S Offline
                S Douglas
                wrote on last edited by
                #7

                Take a look here about three fourths the way down the page at “Objects, counters, or instances seem to be missing or invalid”. Chapter 27 - Overview of Performance Monitoring[^]


                ZeePain! wrote:

                This seems like one of those programs that started small, grew incrementally, building internal pressure, and finally barfed all over its source code sneakers. Or something.

                thedailywtf.com[^]

                S 1 Reply Last reply
                0
                • S S Douglas

                  Take a look here about three fourths the way down the page at “Objects, counters, or instances seem to be missing or invalid”. Chapter 27 - Overview of Performance Monitoring[^]


                  ZeePain! wrote:

                  This seems like one of those programs that started small, grew incrementally, building internal pressure, and finally barfed all over its source code sneakers. Or something.

                  thedailywtf.com[^]

                  S Offline
                  S Offline
                  Salil Khedkar
                  wrote on last edited by
                  #8

                  The link had excellent info, thanks man. :rose: I tried out a few things and while I learnt a lot from the exercise, I could not solve the problem. As the time is short I will just go ahead and re-install XP. Salil Khedkar [^]

                  S 1 Reply Last reply
                  0
                  • S Salil Khedkar

                    The link had excellent info, thanks man. :rose: I tried out a few things and while I learnt a lot from the exercise, I could not solve the problem. As the time is short I will just go ahead and re-install XP. Salil Khedkar [^]

                    S Offline
                    S Offline
                    S Douglas
                    wrote on last edited by
                    #9

                    Salil Khedkar wrote:

                    The link had excellent info, thanks man.

                    Your welcome...

                    Salil Khedkar wrote:

                    I tried out a few things and while I learnt a lot from the exercise, I could not solve the problem.

                    That sucks. Good luck...


                    ZeePain! wrote:

                    This seems like one of those programs that started small, grew incrementally, building internal pressure, and finally barfed all over its source code sneakers. Or something.

                    thedailywtf.com[^]

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups