go-edac is a golang library and utility for Linux kernel Error Detection and Correction (EDAC).
- Reading memory status
- Resetting memory counters
- Setting memory scrub rate
go get -u github.com/multiplay/go-edacIn order for EDAC information to be available your system needs the required kernel modules installed and loaded.
The following command will return as list of modules if they are:
lsmod |grep edacIf you don't see any modules and you have a CPU which supports ECC memory checking, you may need a newer kernel which adds support for your specific hardware.
For example Ubuntu 16.04 LTS GA Kernel (4.4) only supports up to Intel E3-1200 v5 CPU's.
If you want to stick with 16.04 LTS and have a newer Intel CPU you can opt into the Rolling HWE Stacks
apt-get install --install-recommends linux-generic-hwe-16.04This will update your kernel to 4.15 which supports up to the 7th Generation Intel E3's.