1
0

Update dmidecode2dokuwiki.sh

This commit is contained in:
2026-04-30 10:01:45 +02:00
parent 545bbcb830
commit c83550995f
+6
View File
@@ -66,6 +66,11 @@ while read -r SIZE_LINE; do
MEMORY_TOTAL_GB=$(( MEMORY_TOTAL_GB + GB ))
done < <(dmidecode -t memory | grep "Size:" | awk -F: '{print $2}')
# ======================
# OS info
# ======================
OS=$(lsb_release -d|cut -f2)
# ======================
# SCHIJFINFORMATIE
# ======================
@@ -91,6 +96,7 @@ $(figlet $(hostname))
| CPU-sockets | $CPU_SOCKETS |
| Totaal geheugen | ${MEMORY_TOTAL_GB} GB |
| Aantal schijven | $DISK_COUNT |
| OS | $OS |
^ Schijf ^ Model ^ Grootte ^ Type ^
EOF