From 95e02e5f8806552fc85ddb8248fed509291a643d Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Fri, 2 Jun 2023 10:57:51 +0200 Subject: [PATCH] Create check_ecc --- ecc/check_ecc | 1 + 1 file changed, 1 insertion(+) create mode 100644 ecc/check_ecc diff --git a/ecc/check_ecc b/ecc/check_ecc new file mode 100644 index 0000000..88a4f37 --- /dev/null +++ b/ecc/check_ecc @@ -0,0 +1 @@ +_MEMORYCHECK=$(dmidecode --type 16 | grep "Error Correction Type"); echo $(echo $?) \"ECC Memory\" - ${_MEMORYCHECK##*Error Correction Type:};unset _MEMORYCHECK