cat /proc/cpuinfo信息
processor 逻辑处理器id
physical id 物理封装处理器id
core id 每核id
cpu cores 位于相同物理封装处理器内核数量
siblings 位于相同物理封装处理器逻辑处理器数量
cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc –l
cat /proc/cpuinfo |grep "processor"|wc –l
cat /proc/cpuinfo |grep "cores"|uniq
cat /proc/cpuinfo |grep MHz|uniq
Linux euis1 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
(查看前操作系统内核信息)
cat /etc/issue | grep Linux
Red Hat Enterprise Linux AS release 4 (Nahant Update 5
cat /proc/cpuinfo | grep physical | uniq -c
4 physical id : 0
4 physical id : 1
cat /proc/cpuinfo
cat /proc/meminfo
fdisk -l
dmidecode | grep "Product Name"
dmesg | grep -i eth