Memtester is a user-mode tool used to test memory subsystem faults. It is very convenient and supports 32-bit or 64-bit Unix-like systems. For hardware developers, memtester can locate the physical address.
Refer:
Linux memory testing tool memtester
1. Install
Http://pyropus.ca/software/memtester/
Memtester-4.2.2.tar.gz source code package is obtained.
# Tar-zxvf memtester-4.2.2.tar.gz
# Make
# Make install
2. Test
./Memtester [-p physaddrbase] <mem> [B | K | M | G] [loops]
Where:
Physaddrbase: the physical address to be tested;
<Mem> [B | K | M | G]: test the memory size;
[Loops]: number of tests
Case:
[Root @ RedHat memtester-4.2.2] #./memtester-p 0x0a0000 4 k 1
Memtester version 4.2.2 (32-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only ).
Pagesize is 4096
Pagesizemask is 0xfffff000
Want 0 MB (4096 bytes)
Loop 1/1:
Stuck Address: testing 0 FAILURE: possible bad address line at physical address 0x000a0000.
Skipping to next test...
Random Value: OK
Compare XOR: OK
Compare SUB: OK
Compare MUL: OK
Compare DIV: OK
Compare OR: OK
Compare AND: OK
Sequential Increment: OK
Solid Bits: OK
Block Sequential: OK
Checkerboard: OK
Bit Spread: OK
Bit Flip: OK
Walking Ones: OK
Walking Zeroes: OK
8-bit Writes: OK
16-bit Writes: OK
Done.
[Root @ RedHat memtester-4.2.2] #
Recommended reading:
Simple use of Wireshark
Network Traffic Statistics utility nicstat
Use tcpdump in Linux
Linux network packet capture tcpdump
Install and use the Linux Network Testing Tool Netperf