查看当前操作系统内核信息
#?uname -a
Linux redcat 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
查看当前操作系统发行版信息
#cat /etc/issue
Ubuntu 9.10 \n \l
?
查看cpu型号
#?cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
2? Intel(R) Core(TM)2 Duo CPU???? P8600? @ 2.40GHz
(看到有2个逻辑CPU, 也知道了CPU型号)