Re: Number of CPU's...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> On Thu, 25 Jul 2002, James Olin Oden wrote:
> 
> > Hi, 
> > 
> > A while back we had a discusion about how to detect the number
> > of cpu's that were really on the system.  The previous discussion
> > was centered around hyperthreading, but I am not really concerned
> > with that aspect of the problem.  What I would like to be able to 
> > do is be able to know how many cpus are physically on the box
> > as opposed to how many are being used.  
> > 
> > For instance, if I booted a duel processor box with the 
> > boot parameter:
> > 
> > 	maxcpus=1
> > 
> > and then looked at the file /proc/cpuinfo there would only be 
> > information concerning the one used cpu.  Is it possible to find
> > out how many cpu's are actually on the box while it is 
> > in this state?
> 
> I'd guess the information is available in the MP-tables and x86info
> (http://sourceforge.net/projects/x86info/) seems to confirm my guess:
>
That works just great!

Thanks...james 



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux