[TriLUG] Dual core question

Lee Fickenscher elfick at mac.com
Fri May 20 15:04:05 EDT 2005


I don't have any dual core boxes, but on linux couldn't you do something 
like:

cat /proc/cpuinfo | grep -c processor

to get a core count?
-Lee

Charles Fischer wrote:
> I would like to get a CPU core count from a Linux box.  Does anybody 
> have a dual core box running a 2.6 kernel?  If so would you run the 
> following short program and let me know what it output?  I would also 
> like to know which version of Linux you are running and how many CPU 
> sockets are filled and the CPU model numbers.  The program compiles with 
> the following command line:
> 
<snip>



More information about the TriLUG mailing list