Howard Lowndes wrote:
> 
> Does anyone know of any Linux software that objectively tests RAM.  I
> suspect that I have that problem, but I would like to confirm it before I
> waste any more time.

#!/bin/sh

countfile=/root/stresstest-count
rm -f $countfile

cd /usr/src/linux

for i in 0 1 2 3 4 5 6 7 8 9; do
  for j in 0 1 2 3 4 5 6 7 8 9; do

    logfile=/tmp/kernel.${i}${j}
    tmpfile=/tmp/kernel.tmp

    make clean > $tmpfile 2>&1
    make > $logfile 2>&1

    echo "`date +'%b %d %X'` Line count for pass ${i}${j} is `wc -l < $logfile`" 
>>$countfile

  done
done

... all of the lines should be the same, or else you probably have faulty
memory.

----+------------------------+--------------------------
Del | mailto:[EMAIL PROTECTED] | Christchurch, New Zealand
----+------------------------+--------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to