I am trying to setup
perfmon on a Windows 2008 R2 server to monitor memory usage on a server for 1 week. I have never used
perfmon before, but some basic tutorials explained how to pick between different performance counters and get the basic application up and running, thereby generating reports.
I was looking for something similar to "Physical Memory" (which can be found in Task Manager >> Performance tab) which displays memory usage data as a percentage between 0% and 100%. I do not really care about the units of the counter, but I would like something that gets me a similar metric to the Performance tab.
When I tested using
Memory\%Committed Bytes in Use, that counter does not seem to be giving me what I want; it seems to be measuring something else. On my specific server, I have 8GB of RAM. Using the Task Manager, I could see that the server was using 1.5GB of RAM, but when I ran the performance counter test, the %Committed Bytes was shown as having a value of 11, with a scale of 1.0--which I assume translates to 11%. Task Manager was reporting 19% over that same time interval, so I do not know what to make of that discrepancy.
Available MBytes is the correct metric (with a reporting scale set to 0.001) for my needs, and the results I got in testing say 6.618GB, which looks correct (this requires changing the graph type to "Report"--I guess since this only provides a single value as a result, 6.618GB must be the average over the entire time interval the performance counters are running?).
Are either of these performance counters appropriate to use for my purposes? What is the best way to display the data I am trying to observe over an entire week? I really would like to see the highs and lows of memory usage over a week time period.