Where is the Available MBytes option in Windows 7 perfmon, that is in Win XP perfmon?

1

I don't know much about perfmon, but I see that Win XP has an option "Available MBytes" under "Memory" after right clicking the graph and clicking "add counter". As shown in this screenshot

enter image description here

Where is the Available MBytes option in Windows 7 perfmon, that is in Win XP perfmon?

In Windows 7 perfmon I see this, screenshot below, but I cannot find an "Available MBytes" option, and I see no Memory category.

Added

Ass you can see below, there is no memory category

enter image description here

enter image description here

barlop

Posted 2016-06-29T14:51:08.603

Reputation: 18 677

On Windows 8.1, when I expand the "Memory" category I see "Available MBytes" near the top and can add it. (I don't have any Windows 7 system handy.) Do you not see that? (Your screenshot doesn't show either way.) Screenshot: https://i.stack.imgur.com/MDAN2.png

– a CVn – 2016-06-29T14:54:50.327

@MichaelKjörling see screenshot added, there seems to be no memory category listed – barlop – 2016-06-29T15:12:41.133

Well, that's definitely a bit more odd. Just for completeness' sake, you have tried as at least local administrator, right? – a CVn – 2016-06-29T15:16:12.540

@MichaelKjörling I don't think that's right as you don't run perfmon as admin, though I think perhaps a program that works with counters might have to be admin e.g. if it's creating a category and creating a counter.. though i'm no expert. But certainly perfmon doesn't have to be run as administrator. – barlop – 2016-06-29T15:34:14.080

this may be the answer lodctr /r as mentioned http://stackoverflow.com/questions/17980178/cannot-load-counter-name-data-because-an-invalid-index-exception I then tried running a program that creates a category and a counter and increments the counter, running that program as administrator, and then I started perfmon and saw it. I think it was the lodctr /r that fixed the issue.

– barlop – 2016-06-29T15:35:29.047

Running as admin (Windows 7 Home Premium 64 bit) I have Memory > Available MBytes showing. https://i.imgur.com/NnxYCAf.png

– DavidPostill – 2016-06-29T15:36:00.063

@DavidPostill and what about when not running perfmon as admin? – barlop – 2016-06-29T15:36:20.737

It's here too (Windows 7 Pro 64-bit, not run "as administrator"). Your WMI and/or Performance Counters may be corrupted..? – Ƭᴇcʜιᴇ007 – 2016-06-29T15:36:41.280

@barlop I don't have a non-admin account ... – DavidPostill – 2016-06-29T15:36:47.970

1@DavidPostill well, if you did then you could test the theory that admin has anything to do with it. I think, as techie said, it's nothing to do with it. Once I ran that lodctr /r command it fixed the category list. starting perfmon regularly is fine it shows them now. And I don't think running it as administrator would've made any difference. – barlop – 2016-06-29T15:52:58.303

@barlop <shrug> Too much effort. That's why it's a comment not an answer :) – DavidPostill – 2016-06-29T15:54:16.210

Answers

1

This seemed to work for me, and so may be the answer `lodctr /r' as mentioned here https://stackoverflow.com/questions/17980178/cannot-load-counter-name-data-because-an-invalid-index-exception

I then tried running a program that creates a category and a counter and increments the counter, running that program as administrator, and then I started perfmon and saw it. I don't think the program had anything to do with it. The program was giving an error until I ran lodctr /r.

I think it was the lodctr /r that fixed the issue(for perfmon and my program).

Since running lodctr /r, perfmon lists the categories fine e.g.

enter image description here

I would note also that it's just the name of a counter, and it's up to whatever program to increment it after every MB so, while it's good convention to use that one, technically one could use any counter.

barlop

Posted 2016-06-29T14:51:08.603

Reputation: 18 677