[TriLUG] Dual core question

Greg Brown gwbrown1 at gmail.com
Fri May 20 15:20:54 EDT 2005


I just boot knoppix and look for two penguins.  That said I don't have
access to a HT box here at work. :(

On 5/20/05, Charles Fischer <fischer at 4pi.com> wrote:
> I am not sure if that will give me a processor count or a core count.  If I
> parse looking for CPU family, model, and model name, I am sure I could get
> the information for that one box.  The problem would be keeping the code
> updated as new processors come out.
> 
> -Charles Fischer
> 
> At 03:04 PM 5/20/2005, you wrote:
> >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>
> >--
> >TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> >TriLUG Organizational FAQ  : http://trilug.org/faq/
> >TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> 
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>



More information about the TriLUG mailing list