Nadeem,

How do I determine the number of physical processors installed on my
server from within the OS?
I used to trust /proc/cpuinfo till  I came across a Xeon box which had
four physical CPUs, but /proc/cpuinfo reported eight. Talk of
multithreading! Surely there must be a way to find the correct number of
physical CPUs? Something like..
No of CPUs: 8 ( 4 Physical )

You can trust /proc/cpuinfo now too.
For a standard Xeon proc, you shall see two CPUs in cpuinfo and for quad xeon processor you should be able to see 8 CPUs (and yes thats due to hyper threading)


Thanks & Regards,
Mitul Limbani,
Founder & CEO,
Enterux Solutions,
The Enterprise Linux Company (TM),
www.enterux.com

--
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to