Memory Testing: Difference between revisions

From WilliamsNet Wiki
Jump to navigation Jump to search
(Created page with "Install the memtester utility from the software repository, if it is not already installed. Ubuntu/Debian and Linux Mint: sudo apt-get install memtester Fedora/RHEL/RPM: y...")
Tag: visualeditor
 
(No difference)

Latest revision as of 02:24, 28 December 2021

Install the memtester utility from the software repository, if it is not already installed.

Ubuntu/Debian and Linux Mint:

sudo apt-get install memtester

Fedora/RHEL/RPM:

yum install memtester

As root, run the test:

memtester <memory size> <repetitions>

... where:

  • <memory size> is in megabytes
  • <repetitions> is the number of times the full suite will be run

To get the exit status:

echo $?

Possible values:

  • x00: success
  • x01: Error allocating or locking memory, or invocation error
  • x02: Error during stuck address test
  • x04: Error during one of the other tests.

(excerpted from https://www.techwalla.com/articles/how-to-test-the-ram-on-linux)