Random Access Memory (RAM) is an important part of any computer system. If you are installing a new Ubuntu or VPS (Virtual Private Server) environment and you have no idea of the details of your system’s internal memory, such as the amount of RAM installed and used in your system, you can easily test all the information about your computer’s memory with the mem test program. Memory tests are memory testing programs designed to check for errors in your computer’s RAM. In most Linux distributions, including Ubuntu 20.04, more than 86 mem test programs are enabled by default. If the mem test program is not included in the distribution package, you can make a portable test drive via USB, from which the mem test is downloaded and executed. This utility writes test memory address templates, reads data, and compares them to detect errors.
In this article we show you how to perform a memo test in Ubuntu 20.04. The article also informs you about command line programs for Memtester that can be used to check for errors in RAM.
To perform the memtest in this article, your system must have Ubuntu 20.04 installed and the memtest86+ option must be available in the GRUB menu.
How Memtest86+ works in Ubuntu 20.04
Doing a memory test in Ubuntu is easy compared to other distributions. Follow these steps to start the demo of your Ubuntu system on April 20th.
Step 1: Access to the menu GRUB
As you may know, Memtest86+ works without an operating system. It is therefore necessary to have access to the GRUB menu in Ubuntu. Restart the system and press and hold the Shift key to enter the GRUB menu. When you start up the system, the following window appears on the screen:
Step 2: Select Memtest86+
The GRUB menu displays the following list of options. Use the arrow keys to select the option Memtest86+, marked by the arrow in the figure below:
Press the Enter key to start the Memtest86+ program.
Step 3: Stop Test
The test starts automatically on your system and continues until you finish the current process by pressing the Esc key. It is best to do the test in one full session. In the output window shown in the following figure, the test details are marked in red.
You have now successfully passed the test on your Ubuntu system. This game is similar to a game where you can check if errors have been detected or if your system has been restarted. It is advisable to perform a mem test for many passages, because an error can sometimes only be detected during the second passage. Each pass may take several hours or days, depending on the amount of memory installed in your system. It is therefore recommended to perform the memory test at the end of the day for the best results. If your system has a large amount of memory and faults are rare, it may be a good idea to run the test over the weekend. If you have an ECC (Error Correcting Code) memory, you can easily get errors at once. He repairs all the insects himself. If you have time to detect an error a second time, we recommend that you do so in this case.
Memory testing using the memory testing program
Memtester is a command line utility that allows you to check for errors in RAM.
The Memtester utility is not installed on the Ubuntu system by default. However, you can install the utility with the following command:
$ sudo apt Installationsmemter
Error check with memo
After installing the Memtester on your system, you can execute the memtester command on your system to check for errors in the RAM. Use the following syntax to execute the Memtester command:
iteration of vessel size during the semester
In the above command, the size is the amount of memory you want to assign, and the iteration is the number of times you need to run the command to check for errors or the number of passes.
For example, to execute the Memtester command for a memory size of 200 M in 1 iteration, the above command changes to the following format
After entering the above command, the following output should appear on the terminal
Thanks to the information in this article, you have learned how to make Memtest86+ work in Ubuntu 20.04 This function can be useful if your system has experienced many failures. Before an error message can be sent, a test must be carried out. You have also learned how to perform a memory test with the Memtester command line utility. Hopefully after reading this article you can now perform a memory test for your own system.
memtest not in grub menu,memtester