Link to home
Start Free TrialLog in
Avatar of gcz
gczFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Get memory status

Hello Experts

I would like to be able to monitor memory status through WMI, or some other programmatical solution that will alert me to problems with the actual memory.

My main hope was through WMI. I have tried MEMPHYSICAL GET STATUS through WMIC, along with several other WMI classes, including accessing them via .NET. So far, all my results are empty.

Can someone please provide a working example where I can run it to see that my memory is "OK" or "bad" etc. To put this in context, the functionality will go into an application that gives the IT team a quick snapshot of server health and activity.

Many thanks
Avatar of n2fc
n2fc
Flag of United States of America image

Not sure that is useful, as most any physical memory issue would likely cause a blue screen death scenario...

See the following utility (RAM Map) for an alternative:
http://technet.microsoft.com/en-us/sysinternals/ff700229.aspx
As far as I know, ECC memory will self-correct errors, and, as n2fc said, if it cannot correct errors Windows will blue-screen to avoid corruption.

HTH,
Dan
ASKER CERTIFIED SOLUTION
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You should stress if you are talking about the memory load or errors the memory creates.

If load, look at perfmon. perfmon can constantly monitor your system and you can define actions (tasks) to happen if memory load increases (let's say) above 90% for (let's say) more than 5 minutes.

If you mean memory errors: if server memory (ECC) is used, the system can be setup to notify you about errors that occur. Is ECC in use?
Avatar of gcz

ASKER

Thank you for the responses.

I mainly want to focus on errors at the moment. About a year ago we had one of our Dell servers report a memory error problem via its mini digital front panel (ECC on all servers). It functioned fine while we bought new memory and afterwards the error went. More diagnostiics were done than "warning light is on = bad", but it was a starting point.

James that is what I was looking to do later on. The priority right now is guarding against failing hardware not being noticed.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial