六月丁香五月婷婷,丁香五月婷婷网,欧美激情网站,日本护士xxxx,禁止18岁天天操夜夜操,18岁禁止1000免费,国产福利无码一区色费

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 電腦硬件知識(shí) > CPU知識(shí) > Linux查看cpu個(gè)數(shù)

Linux查看cpu個(gè)數(shù)

時(shí)間: 捷鋒774 分享

Linux查看cpu個(gè)數(shù)

  CPU是電腦的重要組成部分,是不可缺少的角色。下面是學(xué)習(xí)啦小編帶來的關(guān)于Linux查看cpu個(gè)數(shù)的內(nèi)容,歡迎閱讀!

  Linux查看cpu個(gè)數(shù):

  Java代碼

  [root@lidongbo~]# cat /proc/cpuinfo

  processor : 0

  vendor_id : GenuineIntel

  cpu family : 6

  model : 15

  model name : Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz

  stepping : 13

  cpu MHz : 2200.010

  cache size : 1024 KB

  physical id : 0

  siblings : 2

  core id : 0

  cpu cores : 2

  apicid : 0

  fpu : yes

  fpu_exception : yes

  cpuid level : 10

  wp : yes

  flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm

  bogomips : 4403.65

  clflush size : 64

  cache_alignment : 64

  address sizes : 36 bits physical, 48 bits virtual

  power management:

  processor : 1

  vendor_id : GenuineIntel

  cpu family : 6

  model : 15

  model name : Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz

  stepping : 13

  cpu MHz : 2200.010

  cache size : 1024 KB

  physical id : 0

  siblings : 2

  core id : 1

  cpu cores : 2

  apicid : 1

  fpu : yes

  fpu_exception : yes

  cpuid level : 10

  wp : yes

  flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm

  bogomips : 4399.94

  clflush size : 64

  cache_alignment : 64

  address sizes : 36 bits physical, 48 bits virtual

  power management:

  [root@lidongbo ~]#

  通過上面信息我們可以知道

  從processor 0 到processor 1可以看出來總共有2個(gè)核

  從physical id : 0 可以看出有一個(gè)cpu(因?yàn)闆]發(fā)現(xiàn)physical id : 1)

  從cpu cores : 2 可以看出cpu有兩個(gè)內(nèi)核

  簡單點(diǎn)

  1. 查看物理CPU的個(gè)數(shù)

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

  2. 查看邏輯CPU的個(gè)數(shù)

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

  3. 查看CPU是幾核

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

  4. 查看CPU的主頻

  #cat /proc/cpuinfo |grep MHz|uniq

看了Linux查看cpu個(gè)數(shù)文章內(nèi)容的人還看:

1.查看CPU核數(shù)的方法

2.WIN7查看CPU核心數(shù)的方法

3.怎么使用Linux命令查看CPU使用率(2)

4.CPU的針腳數(shù)怎么看

5.Linux中查看CPU的信息的方法是什么

6.安兔兔怎樣查看手機(jī)CPU核心數(shù)

7.cpu針腳數(shù)越多越好嗎

8.cpu針腳數(shù)有多少種:

613577