當前位置:首頁 » 操作系統 » linux查看cpu型號

linux查看cpu型號

發布時間: 2024-05-15 12:28:52

『壹』 linux鏌ョ湅cpu鍨嬪彿鍛戒護linux鏌cpu

linux鏌ョ湅cpu棰戠巼錛

linux緋葷粺濡備綍鏌ョ湅cpu棰戠巼錛屾湁寰堝氱嶆柟娉曪紝鏈綆渚跨殑鏄鍙浠ュ湪Gnome涓嬫煡鐪嬨

鍦℅nome鑿滃崟鏍忕殑搴曢儴闈㈡澘涓婄偣鍙抽敭鈥>娣誨姞鍒伴潰鏉縚>CPU棰戠巼鑼冨洿鐩戣嗗櫒錛岀劧鍚巊nome闈㈡澘涓婂氨浼氬嚭鐜版ゅ皬宸ュ叿錛屽苟鏄劇ず褰撳墠鐨勯戠巼錛岀偣宸﹂敭鍙鍑虹幇鍙璋冭妭鐨勯戠巼鍛戒護琛屼笅鏌ョ湅銆

AIX鍜孡inux涓嬪備綍鏌ョ湅CPU鍜屽唴瀛樹俊鎮錛

AIX鐨勭‖浠朵俊鎮鍙浠ラ氳繃prtconf鍛戒護鐪嬪埌銆

1.鏌ョ湅閫昏緫CPU涓鏁

#pmcycles-m

CPU0runsat4204MHz

CPU1runsat4204MHz

CPU2runsat4204MHz

CPU3runsat4204MHz

CPU4runsat4204MHz

CPU5runsat4204MHz

CPU6runsat4204MHz

CPU7runsat4204MHz

涓婇潰鎻忚堪鏈8涓狢PU錛孋PU鐨勪富棰戜負4.2G璧鍏

2.鏌ョ湅鐗╃悊CPU涓鏁

#prtconf|grepProcessors

NumberOfProcessors:4

3.紜瀹欳PU鏄鍑犳牳

鐢ㄩ昏緫CPU闄や互鐗╃悊CPU灝辨槸鏍告暟銆

4.鏌ョ湅鍗曚釜CPU鐨勮︾粏淇℃伅

#lsattr-E-lproc0

smt_

smt_

typePowerPC_POWER6ProcessortypeFalse

Linux鎿嶄綔緋葷粺

Linux涓嬬殑CPU淇℃伅鍏ㄩ儴閮藉湪/proc/cpuinfo榪欎釜鏂囦歡涓錛屽彲浠ョ洿鎺ユ墦寮鐪嬨

1.鏌ョ湅鐗╃悊CPU鐨勪釜鏁

#cat/proc/cpuinfo|grep"physicalid"|sort|uniq|wc-l

2.鏌ョ湅閫昏緫CPU鐨勪釜鏁

#cat/proc/cpuinfo|grep"processor"|wc-l

3.鏌ョ湅CPU鏄鍑犳牳

#cat/proc/cpuinfo|grep"cores"|uniq

4.鏌ョ湅CPU鐨勪富棰

#cat/proc/cpuinfo|grepMHz|uniq

xshell榪炴帴鏈嶅姟鍣ㄦ煡鐪媍pu閰嶇疆錛

鎴戠殑錛1.鏌ョ湅CPU鐨勫瀷鍙鳳細

#more/proc/cpuinfo|grepname|cut-f2-d:

杈撳嚭緇撴灉錛

Intel錛圧錛塜eon(R)[email protected]

2.鏌ョ湅CPU鐨勪綅鏁幫細

#getconfLONG_BIT

杈撳嚭緇撴灉鏄錛64

3.鏌ョ湅CPU鐗╃悊鐨勪釜鏁幫細

#more/proc/cpuinfo|grepphysicalid|sort-n|uniq|wc-l

杈撳嚭緇撴灉錛2

琛ㄧずLinux鏈嶅姟鍣ㄤ笂闈㈠畨瑁呬簡2涓鐗╃悊CPU鑺鐗囥

4.鏌ョ湅CPU鐨勫唴鏍鎬釜鏁幫細

#more/proc/cpuinfo|grepcpucores|uniq

鏌ヨ㈢粨鏋滄槸錛14

琛ㄧず涓棰楃墿鐞咰PU閲岄潰鏈14涓狢PU鍐呮牳錛屽崟鍧桟PU涓婂勭悊鏁版嵁鐨勮姱鐗囩粍鏁伴噺鏄14銆

5.鏌ョ湅姣忛楃墿鐞咰PU涓鐨勯昏緫CPU涓鏁幫細

#more/proc/cpuinfo|grepsiblings|uniq

杈撳嚭緇撴灉錛

siblings:28

6.鏌ョ湅CPU鏄鍚﹀紑鍚浜嗚秴綰跨▼鎶鏈錛

#more/proc/cpuinfo|egrepcpucores|siblings|sort|uniq

杈撳嚭緇撴灉錛

cpucores:14

siblings:28

濡傛灉cpucores鏁伴噺鏄痵iblings鐨勪竴鍗婏紝璇存槑寮鍚浜嗚秴綰跨▼鎶鏈銆

濡傛灉cpucores涓巗iblings鏁伴噺涓鑷達紝璇存槑娌℃湁寮鍚瓚呯嚎紼嬫妧鏈銆

7.鏌ョ湅閫昏緫CPU涓鏁幫紱

#more/proc/cpuinfo|grepprocessor|uniq|wc-l

杈撳嚭緇撴灉鏄錛56銆

璇存槑閫昏緫CPU涓鏁版槸56銆傞昏緫CPU涓鏁=鐗╃悊CPU涓鏁皒CPU鍐呮牳鏁皒姣忛楃殑紜浠剁嚎紼嬫暟銆

linux鏌ョ湅姣忎釜cpu浣跨敤鐜囷紵

鐢╰op鍛戒護鍙瀹炵幇

top鍛戒護鏄疞inux涓嬪父鐢ㄧ殑鎬ц兘鍒嗘瀽宸ュ叿錛岃兘澶熷疄鏃舵樉紺虹郴緇熶腑鍚勪釜榪涚▼鐨勮祫婧愬崰鐢ㄧ姸鍐碉紝綾諱技浜嶹indows鐨勪換鍔$$悊鍣ㄣ

榪愯宼op鍛戒護鍚庯紝CPU浣跨敤鐘舵佷細浠ュ叏灞忕殑鏂瑰紡鏄劇ず錛屽苟涓斾細澶勫湪瀵硅瘽鐨勬ā寮--鐢ㄥ熀浜巘op鐨勫懡浠わ紝鍙浠ユ帶鍒舵樉紺烘柟寮忕瓑絳夈傞鍑簍op鐨勫懡浠や負q錛堝湪top榪愯屼腑鏁瞦閿涓嬈★級銆

濡備綍鏌ョ湅鐢佃剳CPU澶勭悊鍣ㄤ釜鏁幫紵

鏃㈢劧閮借村埌CPU涓鏁頒簡閭f渶灝戝簲璇ユ槸宸ヤ綔絝欐垨鑰呮湇鍔″櫒(闆嗙兢)win鐨勬湁浜鴻翠簡鎴戝啀鍔犱釜linux鐨

涓鏁

cat/proc/cpuinfo|grep"physicalid"|sort|uniq|wc-l

鏍稿績鏁

cat/proc/cpuinfo|grep"cpucores"|uniq

綰跨▼鏁

cat/proc/cpuinfo|grep"processor"|wc-l

熱點內容
python正則compile 發布:2024-11-27 05:19:05 瀏覽:28
資料庫系統概論第四版ppt 發布:2024-11-27 04:59:52 瀏覽:412
開通了免密為什麼還要密碼 發布:2024-11-27 04:17:42 瀏覽:15
excel導入資料庫java 發布:2024-11-27 04:16:21 瀏覽:624
ps不能存儲bpm 發布:2024-11-27 04:04:12 瀏覽:613
jquery代碼加密 發布:2024-11-27 03:54:51 瀏覽:594
數字密碼人格是什麼原理 發布:2024-11-27 03:46:34 瀏覽:430
華為怎麼看手機的配置 發布:2024-11-27 03:27:42 瀏覽:382
php函數作用域 發布:2024-11-27 03:26:11 瀏覽:177
pythonasteval 發布:2024-11-27 03:21:14 瀏覽:564