10

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.

Wesley
  • 32,320
  • 9
  • 80
  • 116
Xaxum
  • 307
  • 1
  • 6
  • 15

1 Answers1

8

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.

Wesley
  • 32,320
  • 9
  • 80
  • 116
  • 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, 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