分页: 1 / 1

0 个 CPU????

发表于 : 2006-07-15 12:44
YinzCN
为什么检测到0个CPU??????????//

代码: 全选

yinz@ud86:~$ cat /proc/cpuinfo
processor       : 0                                            <--------- 这不是CPU 个数吗??
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 44
model name      : AMD Sempron(tm) Processor 2500+
stepping        : 2
cpu MHz         : 1596.540
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips        : 3196.43

CPU????

发表于 : 2006-07-15 13:02
suenr
你的问题是什么? :)

如果是想知道在代码里哪一行是说CPU资料,AMD 这一行就是了。

发表于 : 2006-07-15 13:13
Alexander
意思是第一个CPU吧,linux里习惯从0数起的