特黄特色三级在线观看免费,看黄色片子免费,色综合久,欧美在线视频看看,高潮胡言乱语对白刺激国产,伊人网成人,中文字幕亚洲一碰就硬老熟妇

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 電腦硬件知識 > CPU知識 > linux怎么查看cpu的信息

linux怎么查看cpu的信息

時間: 樂恒1051 分享

linux怎么查看cpu的信息

  怎么看電腦cpu信息,以及判斷cpu的性能,查看cpu的方法有很多,并且非常的簡單,但還是有很多新手不知道怎么做,為此學(xué)習(xí)啦小編為大家整理推薦了相關(guān)的知識,希望大家喜歡。

  linux查看cpu的信息的方法

  1 查看CPU

  1.1 查看CPU個數(shù)

  # cat /proc/cpuinfo | grep "physical id" | uniq | wc -l

  2

  **uniq命令:刪除重復(fù)行;wc –l命令:統(tǒng)計行數(shù)**

  1.2 查看CPU核數(shù)

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

  cpu cores : 4

  1.3 查看CPU型號

  # cat /proc/cpuinfo | grep 'model name' |uniq

  model name : Intel(R) Xeon(R) CPU E5630 @ 2.53GHz

  總結(jié):該服務(wù)器有2個4核CPU,型號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個內(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個內(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:

  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個內(nèi)存空槽

  Form Factor: DIMM

  Set: 3

  Locator: DIMM5

  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個內(nèi)存空槽

  Form Factor: DIMM

  Set: 3

  Locator: DIMM6

  Bank Locator: Not Specified

  Type: DDR2

  Type Detail: Synchronous

  Speed: Unknown

  Manufacturer:

  Serial Number:

  Asset Tag:

  Part Number:

  總結(jié):該服務(wù)器有兩條2G內(nèi)存 ,空余4個插槽

  3 查看硬盤

  3.1 查看硬盤大小

  # fdisk -l | grep Disk

  Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes

  總結(jié):硬盤大小146.7G,即廠商標(biāo)稱的160G

3059415