喜欢技术分享的90后程序员
mac查看CPU型号:
sysctl machdep.cpu.brand_string
Intel® Core™ i5-1038NG7 CPU @ 2.00GHz
centos7查看CPU型号:
cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
8 Intel® Xeon® CPU E5-2620 v2 @ 2.10GHz