Linux下查看CPU类型三种方法的区别介绍


1.dmesg |grep CPU

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 64K (64 bytes/line)

Intel machine check reporting enabled on CPU#0.

CPU: After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000

CPU: Common caps: 0183f9ff c1c7f9ff 00000000 00000000

CPU: AMD Duron(tm) Processor stepping 01

~~~~~~~~~

2.cat /proc/cpuinfo |grep name

model name : AMD Duron(tm) Processor

3.rpm -q --queryformat "%{ARCH}\n" kernel

athlon

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3