Dual processor testing

Kurt Wall kwall
Mon May 17 11:37:10 PDT 2004


Also sprach Condon Thomas A KPWA:
>
> 
> Folks,
> 
> We are using a Peritek motherboard with dual processors.  I'm looking
> for an easy way to test (at, or shortly after, boot) whether both
> processors are working or not.  I'm told this can't be done with
> Windows because it isn't multi-tasking, and that it is not
> straightforward in Linux, either(something about you force it to spin
> off a process like the Beowulf clusters do).
> 
> Has anyone out there any experience in a test of this sort?  Can you
> offer tips or suggestions?

cat /proc/cpuinfo

should show entries for each processor the kernel detects. On my UP box
I get:

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 801.825
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr \
                  pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 1599.07

The next entry on a dual should show something for the next processor
with a heading such as:

processor       : 1
[blah]

Kurt
-- 
Hacker's Law:
	The belief that enhanced understanding will necessarily stir
	a nation to action is one of mankind's oldest illusions.


More information about the Linux-users mailing list