時(shí)間:2015-06-28 00:00:00 來(lái)源:IT貓撲網(wǎng) 作者:網(wǎng)管聯(lián)盟 我要評(píng)論(0)
1?查看CPU
1.1?查看CPU個(gè)數(shù)
#?cat?/proc/cpuinfo?|?grep?"physical?id"?|?uniq?|?wc?-l
2
**uniq命令:刪除重復(fù)行;wc?–l命令:統(tǒng)計(jì)行數(shù)**
1.2?查看CPU核數(shù)
#?cat?/proc/cpuinfo?|?grep?"cpu?cores"?|?uniq
cpu?cores?:?4
1.3?查看CPU型號(hào)
#?cat?/proc/cpuinfo?|?grep?'model?name'?|uniq
model?name:?Intel(R)?Xeon(R)?CPU?????E5630??@?2.53GHz
總結(jié):該服務(wù)器有2個(gè)4核CPU,型號(hào)Intel(R)?Xeon(R)?CPU?E5630?@?2.53GHz
2?查看內(nèi)存
2.1?查看內(nèi)存總數(shù)
#cat?/proc/meminfo?|?grep?MemTotal
MemTotal:?????32941268?kB??//內(nèi)存32G
2.2?查看內(nèi)存條數(shù)
本節(jié)內(nèi)容引自新浪博文《Linux查看內(nèi)存條數(shù)》
查看原文:
#?dmidecode?|grep?-A16?"Memory?Device$"
Memory?Device
??Array?Handle:?0x1000
??Error?Information?Handle:?Not?Provided
??Total?Width:?72?bits
??Data?Width:?64?bits
??Size:?2048?MB?????//1條2G內(nèi)存
??Form?Factor:?DIMM
??Set:?1
??Locator:?DIMM1
??Bank?Locator:?Not?Specified
??Type:?DDR2
??Type?Detail:?Synchronous
??Speed:?667?MHz
??Manufacturer:?7F7F7F7F7F510000
??Serial?Number:?0403E324
??Asset?Tag:?450721
??Part?Number:?72T256220HR3SA???
--
Memory?Device
??Array?Handle:?0x1000
??Error?Information?Handle:?Not?Provided
??Total?Width:?72?bits
??Data?Width:?64?bits
??Size:?2048?MB??//1條2G內(nèi)存
??Form?Factor:?DIMM
??Set:?1
??Locator:?DIMM2
??Bank?Locator:?Not?Specified
??Type:?DDR2
??Type?Detail:?Synchronous
??Speed:?667?MHz
??Manufacturer:?7F7F7F7F7F510000
??Serial?Number:?0403E324
??Asset?Tag:?450721
??Part?Number:?72T256220HR3SA???
--
Memory?Device
??Array?Handle:?0x1000
??Error?Information?Handle:?Not?Provided
??Total?Width:?72?bits
??Data?Width:?64?bits
??Size:?No?Module?Installed?????//1個(gè)內(nèi)存空槽
??Form?Factor:?DIMM
??Set:?2
??Locator:?DIMM3
??Bank?Locator:?Not?Specified
??Type:?DDR2
??Type?Detail:?Synchronous
??Speed:?Unknown
??Manufacturer:????
??Serial?Number:??
??Asset?Tag:
??Part?Number:
--
Memory?Device
??Array?Handle:?0x1000
??Error?Information?Handle:?Not?Provided
??Total?Width:?72?bits
??Data?Width:?64?bits
??Size:?No?Module?Installed???//1個(gè)內(nèi)存空槽
??Form?Factor:?DIMM
??Set:?2
??Locator:?DIMM4
??Bank?Locator:?Not?Specified
??Type:?DDR2
??Type?Detail:?Synchronous
??Speed:?Unknown
??Manufacturer:????
??Serial?Number:??
??Asset?Tag:
??
關(guān)鍵詞標(biāo)簽:Linux
相關(guān)閱讀
熱門文章 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 Tomcat9.0如何安裝_Tomcat9.0環(huán)境變量配置方法 多種操作系統(tǒng)NTP客戶端配置 Linux操作系統(tǒng)修改IP
人氣排行 Linux下獲取CPUID、硬盤序列號(hào)與MAC地址 dmidecode命令查看內(nèi)存型號(hào) linux tc實(shí)現(xiàn)ip流量限制 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 linux下解壓rar文件 lcx.exe、nc.exe、sc.exe入侵中的使用方法 Ubuntu linux 關(guān)機(jī)、重啟、注銷 命令 查看linux服務(wù)器硬盤IO讀寫負(fù)載