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 6375443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:36:58+00:00 2026-05-25T01:36:58+00:00

Performance counter names in Windows are localized, so for instance the counter \Processor(_Total)\% Processor

  • 0

Performance counter names in Windows are localized, so for instance the counter \Processor(_Total)\% Processor Time is called something else in other language versions of Windows. This means that in order to find the correct name one must first find the index of the counter and then use the PdhLookupPerfNameByIndex function to get the localized name (using PdhAddEnglishCounter is out if Windows XP should be supported).

This is all good for the performance object (Processor) and counter (% Processor Time) parts of the counter path above, but what about the instance name (_Total)? I cannot find this string in the registry, so I suppose that it is provided by whatever system component that provides the information.

Is the instance name for system provided performance counters guaranteed to be the same across different language versions of Windows?

If not, how can I determine which instance corresponds to the _Total instance?

  • 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-25T01:36:58+00:00Added an answer on May 25, 2026 at 1:36 am

    According to this support KB, only the objects and counters have friendly names:

    However, instances do not have a user friendly name in each language.

    So this leads me to believe that instance names for a given counter are obtained either dynamically (e.g. ProcessId for a process) or statically (e.g. hard-coded). Of course there is nothing stopping somebody from hard-coding “_Total” in an English build and something else in a German build, though it seems the common practice is to keep the language stuff confined to the registry and deal with the objects and counters by index and the instances by dynamic or static names. I think Microsoft consistently uses “_Total” as I’ve seen it on a few foreign language installs.

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

Sidebar

Related Questions

Under Windows, performance counters have different names, depending on the operating system language. For
I have created a multi-instance performance counter and I pass it mixed case instance
AFAIK, the working paradigm of Windows Performance Counter is like this: When various programs
Is there a .NET performance counter to show the rate of p/invoke calls made?
I have a custom performance counter category. Visual Studio Server Explorer refuses to delete
When I launch perfmon and try to add a counter, the displayed performance objects
In windows there is perfmon to monitor various performances aspects (called counters ) of
I've got a project where I'm hitting a bunch of custom Windows Performance Counters
How do I read from the performance counter NumberOfActiveConnections of the category .NET Data
When querying instances for the the Process performance counter category there might be multiple

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.