Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown    



MEMORY TEST


As we all are growing older ( and our computers too ), we want to test our memory . . . .
To see the amount of memory, open a console and type:

CODE
$ free


output:
. . . . . . . . total . . . . . used . . . . . . free . . . shared . . buffers . . cached
Mem:. . . . 515340 . . . 378232 . . . 137108 . . . . . 0 . . 18312 . . . 209020
-/+ buffers/cache: . . . 150900 . . . 364440
Swap:. . . . 248968 . . . . . . . . 0 . . . 248968

Well that did not tell us very much did it ? So lets do some serious testing.
What you need is a program called ¨memtester¨ ( for downloads see links below )

QUOTE (Info @ Homepage)
Description: Memtest is a utility for testing the memory subsystem in a computer to determine if it is faulty. The original source was by Simon Kirby <[email protected]>. I have by this time completely rewritten the original source, and added many additional tests to help catch borderline memory. I also rewrote the original tests (which catch mainly memory bits which are stuck permanently high or low) so that they run approximately an order of magnitude faster.


Here is how it works, ( I have 512MB memory )

CODE
$ su
<password>
# memtest 512M 1 -l >

( 512M ¨one¨ ,¨-L¨ ) ( The 1 is for running the test only once, the -l makes a logfile in your /home )

Output to screen and logfile in /home:
Run 1:
Test 1: Stuck Address: Testing...Passed.
Test 2: Random value: Setting...Testing...Passed.
Test 3: XOR comparison: Setting...Testing...Passed.
Test 4: SUB comparison: Setting...Testing...Passed.
Test 5: MUL comparison: Setting...Testing...Passed.
Test 6: DIV comparison: Setting...Testing...Passed.
Test 7: OR comparison: Setting...Testing...Passed.
Test 8: AND comparison: Setting...Testing...Passed.
Test 9: Sequential Increment: Setting...Testing...Passed.
Test 10: Solid Bits: Testing...Passed.
Test 11: Block Sequential: Testing...Passed.
Test 12: Checkerboard: Testing...Passed.
Test 13: Bit Spread: Testing...Passed.
Test 14: Bit Flip: Testing...Passed.
Test 15: Walking Ones: Testing...Passed.
Test 16: Walking Zeroes: Testing...Passed.
Run 1 completed in 1418 seconds (0 tests showed errors).

Looks like my memory is still okay.


The current version of memtest should be available at
http://freshmeat.net/projects/memtester/


Read the docs: /urs/share/doc/memtester !!


( WARNING: this program will take your CPU to 100% during a long time . . see to it that your cooling is O.K. )


Bruno


-- Jul 15 2003 ( Revised Dec 13 2005 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown