Update dmidecode2dokuwiki.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user