现在的位置: 首页 > 综合 > 正文

Linux下查看cpu类型、内存大小、硬盘大小类型等

2013年01月19日 ⁄ 综合 ⁄ 共 564字 ⁄ 字号 评论关闭

CPU查看:
1、  # 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
2、  # cat
/proc/cpuinfo | grep name
  model name : Intel(R) Celeron(R) CPU
2.53GHz
3、  # rpm -q --queryformat "%{ARCH}/n" kernel
  i686


存:# cat /proc/meminfo

硬盘:# df命令查看大小
#hdparm -i /dev/hda查看型号

4、
dmidecode查看计算机的硬件信息(包括主板等)

抱歉!评论已关闭.