摘要: 1. cat /proc/cpuInfo 2. 通过汇编获取 3. dmidecode指令解析 dmidecode -t 4 | grep ID |sort -u |awk -F': ' '{print $2}' 代码示例: #include <cstdio> #include <cstring> 阅读全文
posted @ 2022-10-13 11:15 朱果果 阅读(2597) 评论(0) 推荐(0) 编辑