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

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

Linux查看cpu個數(shù)

時間: 捷鋒774 分享

Linux查看cpu個數(shù)

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

  Linux查看cpu個數(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個核

  從physical id : 0 可以看出有一個cpu(因為沒發(fā)現(xiàn)physical id : 1)

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

  簡單點

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

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

  2. 查看邏輯CPU的個數(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個數(shù)文章內(nèi)容的人還看:

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

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

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

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

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

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

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

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

613577