Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to find a good way to get available RAM percentage from perfmon. I can get Available Mbytes but I can't find any way to get the total installed memory on the server or what is in use via perfmon. I can obviously alert on GB but each of my servers have different total RAM so not a great alert.

The way I understand % Committed Bytes is this includes page files on disk so this is not a good indicator.

Any help would be appreciated.

share|improve this question
up vote 6 down vote accepted

Sadly, there is no default Performance Monitor counter that does this. You will need to consider using WMI to tally the total RAM in a server, then totaling the amount of used RAM versus free RAM, storing that data as it is collected, and then presenting it in a pretty way.

However, that kind of thing has already been done for you in the form of the basic features of most NMSs.

P.S. If you're extremely adventurous, you could try writing custom perfmon counters.

share|improve this answer
Thanks @WesleyDavid. I was afraid of that. I want to stick with perfmon. Seems like it would be a common request so MSFT would add but guess not. I will just have to create variables for all my servers and compute percentage that way. Not ideal. Thanks again for the options. – Xaxum Apr 10 '12 at 20:13
@Xaxum Thanks for the update! – Wesley Apr 10 '12 at 21:35
@Xaxum, Did you end up creating custom perfmon variables, or did you make the WMI calls that Wesley mentioned? What method did you find easier? I'm in exactly the same position now... I'd like to hear whatever advice you could give on this. – Sal Nov 13 '12 at 18:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.