Re: RFC about socket/cores numbers and HT info

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

 



Gianluca Cecchi wrote:
> b) Do you think there is any way to enumerate the number of physical
> sockets of a system based only on values in cpuinfo and not using
> dmidecode command?

Gianluca,

There is a Red Hat Knowledgebase article titled "How do I determine if my x86-compatible Intel system is multi-processor, multi-core or supports hyperthreading?" that I think you will find useful.  It states:

  To determine whether a system is multi-processor, multi-core, has
  hyperthreading or supports a combination of the three, look at the
  physical id, siblings, core id and cpu cores values in /proc/cpuinfo
  on Red Hat Enterprise Linux 4 or on Red Hat Enterprise Linux 5 while
  running a non-Xen kernel.

It provides several examples that you could use to write and test your script.

Here's the link: http://kbase.redhat.com/faq/docs/DOC-7715

Regards,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux