{"id":110969,"date":"2024-12-11T23:13:10","date_gmt":"2024-12-11T15:13:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=110969"},"modified":"2024-12-11T23:13:10","modified_gmt":"2024-12-11T15:13:10","slug":"linux-cpu-message","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-cpu-message.html","title":{"rendered":"\u5982\u4f55\u5728linux\u4e2d\u67e5\u770bcpu\u4fe1\u606f\u3001\u673a\u5668\u786c\u4ef6\u578b\u53f7"},"content":{"rendered":"
# cat \/proc\/cpuinfo | grep name | cut -f2 -d: | uniq -c\r\n\r\n8 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz<\/pre>\n(\u770b\u5230\u67098\u4e2a\u903b\u8f91CPU, \u4e5f\u77e5\u9053\u4e86CPU\u578b\u53f7)<\/p>\n
# cat \/proc\/cpuinfo | grep physical | uniq -c\r\n\r\n4 physical id : 0\r\n\r\n4 physical id : 1<\/pre>\n(\u8bf4\u660e\u5b9e\u9645\u4e0a\u662f\u4e24\u98974\u6838\u7684CPU)<\/p>\n
# getconf LONG_BIT\r\n\r\n32<\/pre>\n(\u8bf4\u660e\u5f53\u524dCPU\u8fd0\u884c\u572832bit\u6a21\u5f0f\u4e0b, \u4f46\u4e0d\u4ee3\u8868CPU\u4e0d\u652f\u630164bit)<\/p>\n
# cat \/proc\/cpuinfo | grep flags | grep ' lm ' | wc -l\r\n\r\n8<\/pre>\n(\u7ed3\u679c\u5927\u4e8e0, \u8bf4\u660e\u652f\u630164bit\u8ba1\u7b97. lm\u6307long mode, \u652f\u6301lm\u5219\u662f64bit)<\/p>\n
\u518d\u5b8c\u6574\u770bcpu\u8be6\u7ec6\u4fe1\u606f, \u4e0d\u8fc7\u5927\u90e8\u5206\u6211\u4eec\u90fd\u4e0d\u5173\u5fc3\u800c\u5df2.<\/p>\n
# dmidecode | grep 'Processor Information'\r\n\r\n\u67e5\u770b\u5185\u5b58\u4fe1\u606f\r\n\r\n# cat \/proc\/meminfo\r\n\r\n# uname -a\r\n\r\nLinux euis1 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU\/Linux<\/pre>\n(\u67e5\u770b\u5f53\u524d\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u4fe1\u606f)<\/p>\n
# cat \/etc\/issue | grep Linux\r\n\r\nRed Hat Enterprise Linux AS release 4 (Nahant Update 5)<\/pre>\n(\u67e5\u770b\u5f53\u524d\u64cd\u4f5c\u7cfb\u7edf\u53d1\u884c\u7248\u4fe1\u606f)<\/p>\n
\u67e5\u770b\u673a\u5668\u578b\u53f7<\/p>\n
# dmidecode | grep \"Product Name\"<\/pre>\n\u67e5\u770b\u7f51\u5361\u4fe1\u606f<\/p>\n
# dmesg | grep -i eth<\/pre>\n\n\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.jsgho.net\/help\/fwq\/29864.html<\/a><\/p>\n