Windows
1.获取序列号
wmic bios get SerialNumber /value
Linux
1.
2.获取内存数
dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|awk '{print $2$3}'|sort | uniq -c| awk '{OFS="*";print $1,$2$3}'