Originally Posted by nodopro
So it's not possible. What I try to do is to call memtest by using system command in my perl script.
As I said above, memtest86 is not designed to run under a kernel. It is not a linux program, nor a windows one. It's a little OS in itself -if you wish- that does a very concrete task, and then reboots. That's why it runs outside the OS. The bootloader runs memtest86 instead of the linux kernel, and then you need to reboot.
It's that way by design, and nothing that you do on perl or any other language can change that (unless you run memtest86 on a virtual machine, in which case it will just test the virtual ram of the virtual machine
You are going to need any other program to do the test.