日期:2014-05-16  浏览次数:20960 次

鏌ョ湅linux cpu絳夌‖浠朵俊鎭紙杞級
鍋氭?鑳芥祴璇曢渶瑕佽褰曟?鑳芥祴璇曟満鍣ㄧ殑紜歡淇℃伅錛岀幇灝嗛渶瑕佺殑鍛戒護鎬葷粨濡備笅錛?

鏌ョ湅CPU淇℃伅錛堝瀷鍙鳳級
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
      8  Intel(R) Xeon(R) CPU            E5410   @ 2.33GHz
(鐪嬪埌鏈?涓?杈慍PU, 涔熺煡閬撲簡CPU鍨嬪彿)

# cat /proc/cpuinfo | grep physical | uniq -c
      4 physical id      : 0
      4 physical id      : 1
(璇存槑瀹為檯涓婃槸涓ら4鏍哥殑CPU)
PS錛欽ay added on 10th, May, 2011
# 鍏跺疄鏄彲鑳芥湁瓚呯嚎紼婬T鎶?湳錛屼笉涓?畾鏄湁4鏍革紝涔熷彲鑳芥槸2鏍?綰跨▼錛涘綋鏃惰繕鐞嗚В涓嶆竻妤?

# getconf LONG_BIT
   32
(璇存槑褰撳墠CPU杩愯鍦?2bit妯″紡涓? 浣嗕笉浠h〃CPU涓嶆敮鎸?4bit)

# cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l
   8
(緇撴灉澶т簬0, 璇存槑鏀寔64bit璁$畻. lm鎸噇ong mode, 鏀寔lm鍒欐槸64bit)


鍐嶅畬鏁寸湅cpu璇︾粏淇℃伅, 涓嶈繃澶ч儴鍒嗘垜浠兘涓嶅叧蹇冭?宸?
# dmidecode | grep 'Processor Information'

鏌ョ湅鍐?瀛樹俊鎭?
# cat /proc/meminfo

# uname -a
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)
(鏌ョ湅褰撳墠鎿嶄綔緋葷粺鍙戣鐗堜俊鎭?

鏌ョ湅鏈哄櫒鍨嬪彿
# dmidecode | grep "Product Name" 

鏌ョ湅緗戝崱淇℃伅
# dmesg | grep -i eth