We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca66ed0 commit e579532Copy full SHA for e579532
drivers/show_ecc_info.sh
@@ -0,0 +1,19 @@
1
+#!/usr/bin/env sh
2
+set -eu
3
+
4
+# https://www.setphaserstostun.org/posts/monitoring-ecc-memory-on-linux-with-rasdaemon/
5
6
+if ! command -v ras-mc-ctl 2>&1 >/dev/null; then
7
+ echo "Rasdaemon seems not to be installed. Installing."
8
+ apt-get update
9
+ apt-get install rasdaemon
10
+ systemctl enable rasdaemon
11
+ systemctl start rasdaemon
12
+fi
13
14
+# "To identify which DIMM slot corresponds to which EDAC path
15
+# you will have to reboot your system with only one DIMM inserted,
16
+# write down the name of the slot you insterted it in and then printing out the paths with ras-mc-ctl --error-count."
17
+ras-mc-ctl --print-labels
18
19
+ras-mc-ctl --error-count
0 commit comments