计算机的硬件信息

dmidecode查看计算机的硬件信息(包括主板等)
CPU查看:
 # dmesg | grep CPU
  Initializing CPU#0
  CPU: Trace cache: 12K uops
  CPU: L1 I-cache: 0K, L1 D-cache: 16K
  CPU: L2 cache: 256K
  Intel machine check reporting enabled on CPU#0.
   CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
   CPU: Common caps: bfebfbff 00000000 00000000 00000000
   CPU: Intel(R) Celeron(R) CPU 2.53GHz stepping 01
  microcode: CPU0 updated from revision 0x0 to 0x12, date = 11222004
# cat /proc/cpuinfo
内存
cat /proc/meminfo
free -m

硬盘:
df -h
fdisk -l
#hdparm -i /dev/hda查看型号
系统
lsb_release -a
uname -a


你可能感兴趣的:(cache)