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 would like to monitor the ram of two linux systems (Ubuntu and Red Hat). I realize I can run memtest86 from boot to diagnose bad ram. But are there are any solutions to monitor ram while the system is still running. I'm sort of thinking a daemon that writes and reads back from random unused memory. Anybody seen something like this before?

share|improve this question

Most modern servers of any reasonable quality have an IPMI module which will report bad RAM (usually via SBE (single-bit error) messages from ECC RAM -- You are using ECC RAM in your servers, right?). The IPMI module also monitors and reports on a bunch of other useful stuff.

You can monitor the IPMI module using a variety of network monitoring systems (if you have a management network for the IPMI NICs) or using ipmitool which is available on most Unix systems. Many vendors (Dell and IBM for sure) also have specialized tools that interrogate the IPMI module for on-line diagnostics. Check with your hardware vendor for more details.

share|improve this answer

Here's a script:

From here:

It looks like it unpacks a copy of the linux kernel several times to exhaust available memory (I think this can be modified so it tests a "good portion" of RAM, but not all) and then checks the unpacked copy to verify the integrity.

Smart usage of a simple utility.

share|improve this answer
This places extra load on the server and may even cause running services to fail with out of memory errors. ECC memory as mentioned by voretaq7 is the way to go. – davr Apr 9 '10 at 18:15

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.